#0C202E#0C202E

#0C202E is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.038 H 241.4°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#0C202E
RGBrgb(12, 32, 46)
HSLhsl(205, 59%, 11%)
HSVhsv(205, 74%, 18%)
CMYKcmyk(73.9%, 30.4%, 0%, 82%)
CIE-LABlab(11.33, -2.66, -11.73)
CIE-LCHlch(11.33, 12.03, 257.22°)
OKLaboklab(23.44% -0.018 -0.0329)
OKLCHoklch(23.44% 0.038 241.4)
XYZxyz(1.1611, 1.3083, 2.7756)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C202E #2E1A0C
analogous
#0C2E2B #0C202E #0C0F2E
triadic
#0C202E #2E0C20 #202E0C
tetradic
#0C202E #2B0C2E #2E1A0C #0F2E0C
square
#0C202E #2B0C2E #2E1A0C #0F2E0C
split-complementary
#0C202E #2E0C0F #2E2B0C
monochromatic
#061118 #061118 #0C202E #19425F #25648F

Accessibility & contrast

On white

16.65
#0C202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C202E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C202E#FFFFFF#000000##FFFFFF
##0C202E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c202e;
/* rgb */ color: rgb(12, 32, 46);
/* oklch */ color: oklch(23.4% 0.038 241.4);
Tailwind
colors: {
  custom: {
    50: '#4f5b66',
    500: '#0c202e',
    950: '#000000',
  },
}
SCSS
$custom: #0c202e;
$custom-light: #4f5b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c202e",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 204.706,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23437,
    "c": 0.03752,
    "h": 241.4
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#0C202E
secondary
#6A452C
accent
#8646E2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C202E

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

Preview Lab → · Contrast checker → · Palette generator →

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