#0C202F#0C202F

#0C202F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.039 H 243.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#0C202F
RGBrgb(12, 32, 47)
HSLhsl(206, 59%, 12%)
HSVhsv(206, 74%, 18%)
CMYKcmyk(74.5%, 31.9%, 0%, 81.6%)
CIE-LABlab(11.39, -2.25, -12.37)
CIE-LCHlch(11.39, 12.57, 259.70°)
OKLaboklab(23.5% -0.0176 -0.0348)
OKLCHoklch(23.5% 0.039 243.2)
XYZxyz(1.1810, 1.3163, 2.8806)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C202F #2F1B0C
analogous
#0C2F2D #0C202F #0C0F2F
triadic
#0C202F #2F0C20 #202F0C
tetradic
#0C202F #2D0C2F #2F1B0C #0F2F0C
square
#0C202F #2D0C2F #2F1B0C #0F2F0C
split-complementary
#0C202F #2F0C0F #2F2D0C
monochromatic
#061118 #061118 #0C202F #184160 #256291

Accessibility & contrast

On white

16.62
#0C202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C202F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C202F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C202F#FFFFFF#000000##FFFFFF
##0C202F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#002425
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c202f;
/* rgb */ color: rgb(12, 32, 47);
/* oklch */ color: oklch(23.5% 0.039 243.2);
Tailwind
colors: {
  custom: {
    50: '#4f5b67',
    500: '#0c202f',
    950: '#000000',
  },
}
SCSS
$custom: #0c202f;
$custom-light: #4f5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c202f",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 205.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23499,
    "c": 0.03897,
    "h": 243.2
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#0C202F
secondary
#6B472C
accent
#8945E3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C202F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0C202F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva