#0C202D#0C202D

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

Color values

HEX#0C202D
RGBrgb(12, 32, 45)
HSLhsl(204, 58%, 11%)
HSVhsv(204, 73%, 18%)
CMYKcmyk(73.3%, 28.9%, 0%, 82.4%)
CIE-LABlab(11.28, -3.08, -11.09)
CIE-LCHlch(11.28, 11.51, 254.50°)
OKLaboklab(23.38% -0.0184 -0.0311)
OKLCHoklch(23.38% 0.036 239.4)
XYZxyz(1.1416, 1.3005, 2.6730)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C202D #2D190C
analogous
#0C2D29 #0C202D #0C0F2D
triadic
#0C202D #2D0C20 #202D0C
tetradic
#0C202D #290C2D #2D190C #0F2D0C
square
#0C202D #290C2D #2D190C #0F2D0C
split-complementary
#0C202D #2D0C0F #2D290C
monochromatic
#061118 #061118 #0C202D #19425D #26658E

Accessibility & contrast

On white

16.66
#0C202D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C202D
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C202D#FFFFFF#000000##FFFFFF
##0C202D1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c202d;
/* rgb */ color: rgb(12, 32, 45);
/* oklch */ color: oklch(23.4% 0.036 239.4);
Tailwind
colors: {
  custom: {
    50: '#4e5b66',
    500: '#0c202d',
    950: '#000000',
  },
}
SCSS
$custom: #0c202d;
$custom-light: #4e5b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c202d",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 45
  },
  "hsl": {
    "h": 203.636,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23376,
    "c": 0.03614,
    "h": 239.4
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#0C202D
secondary
#69442C
accent
#8447E1
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020405
muted
#78797A

Preview Lab

Preview with #0C202D

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

Preview Lab → · Contrast checker → · Palette generator →

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