Skip to main content
Coding Theme

Cortex for Obsidian

Cortex by Bastian Ziemann is an Obsidian theme with dark and light modes and 843 downloads.

Preview

Theme preview

An Obsidian window rendered with this theme’s palette.

Obsidian desktop preview

Syntax colors, highlights, links, tags, and checkboxes use this theme's palette; window chrome and layout follow Obsidian's default stylesheet.

Install

Install in Obsidian

  1. Open Settings → Appearance → Themes, then Manage.
  2. Search for “Cortex” and install it. Obsidian keeps community themes updated.
  3. Or create the folder below and save both theme.css and manifest.json in it, then reload Obsidian.
Theme folder
.obsidian/themes/Cortex/theme.css
.obsidian/themes/Cortex/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0b0b15
Secondary background#08080f
Border#4fe0a024
Text#dcdce8
Muted text#9c9abb
Text accent#6fe6b2
Accent background#4fe0a0
Selection background#4fe0a047
Highlight background#f5c54238
Code background#0f0f1d
Code text#d8d6f0
Base 00#07070d
Base 05#0a0a13
Base 10#0d0d18
Base 20#11111f
Base 25#161628
Base 30#1e1e34
Base 35#28284a
Base 40#34345c
Base 50#5a5880
Base 60#7c7aa0
Base 70#a3a1c2
Base 100#e8e6ff

Light

Background#fbfaff
Secondary background#f1eefb
Border#13a06a29
Text#23213a
Muted text#5f5c80
Text accent#0f8a5b
Accent background#13a06a
Selection background#13a06a2e
Highlight background#f5c54259
Code background#f3f0fd
Code text#2b2944

Contrast — Dark

A cool, balanced dark palette anchored on #0B0B15, pairing note text (#DCDCE8) at 14.39:1 (AAA). 7 of 8 graded roles clear WCAG AA (4.5:1+); Faint (#66648A, 3.49:1) sits below 4.5:1 for softer contrast.

Background

#0B0B15

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #DCDCE8

    14.39:1AAA

  • Muted

    #9C9ABB

    7.22:1AAA

  • Faint

    #66648A

    3.49:1Fail

  • Accent

    #6FE6B2

    12.71:1AAA

  • Code

    #D8D6F0on #0F0F1D

    13.37:1AAA

  • Selection

    #DCDCE8on #4FE0A047

    7.70:1AAA

  • Highlight

    #DCDCE8on #F5C54238

    9.00:1AAA

  • On accent

    #0B0B15on #4FE0A0

    11.65:1AAA

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.

Contrast — Light

A cool, vivid light palette anchored on #FBFAFF, pairing note text (#23213A) at 14.97:1 (AAA). 5 of 8 graded roles clear WCAG AA (4.5:1+); Faint (#9A97B8, 2.69:1), Accent (#0F8A5B, 4.20:1), and On accent (#FFFFFF, 3.35:1) sit below 4.5:1 for softer contrast.

Background

#FBFAFF

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Light
Temperature
Cool
Saturation
Vivid
  • Note

    #23213A

    14.97:1AAA

  • Muted

    #5F5C80

    6.07:1AA

  • Faint

    #9A97B8

    2.69:1Fail

  • Accent

    #0F8A5B

    4.20:1Fail

  • Code

    #2B2944on #F3F0FD

    12.43:1AAA

  • Selection

    #23213Aon #13A06A2E

    12.28:1AAA

  • Highlight

    #23213Aon #F5C54259

    12.77:1AAA

  • On accent

    #FFFFFFon #13A06A

    3.35:1Fail

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.