#0C202A#0C202A

#0C202A is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.2% C 0.032 H 232.2°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#0C202A
RGBrgb(12, 32, 42)
HSLhsl(200, 56%, 11%)
HSVhsv(200, 71%, 16%)
CMYKcmyk(71.4%, 23.8%, 0%, 83.5%)
CIE-LABlab(11.12, -4.30, -9.15)
CIE-LCHlch(11.12, 10.11, 244.85°)
OKLaboklab(23.2% -0.0198 -0.0255)
OKLCHoklch(23.2% 0.032 232.2)
XYZxyz(1.0859, 1.2783, 2.3795)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C202A #2A160C
analogous
#0C2A25 #0C202A #0C112A
triadic
#0C202A #2A0C20 #202A0C
tetradic
#0C202A #250C2A #2A160C #112A0C
square
#0C202A #250C2A #2A160C #112A0C
split-complementary
#0C202A #2A0C11 #2A250C
monochromatic
#071218 #071218 #0C202A #1A445A #276989

Accessibility & contrast

On white

16.73
#0C202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C202A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C202A#FFFFFF#000000##FFFFFF
##0C202A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202A
Deuteranopia (green-blind)
#171C2A
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c202a;
/* rgb */ color: rgb(12, 32, 42);
/* oklch */ color: oklch(23.2% 0.032 232.2);
Tailwind
colors: {
  custom: {
    50: '#4e5b63',
    500: '#0c202a',
    950: '#000000',
  },
}
SCSS
$custom: #0c202a;
$custom-light: #4e5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c202a",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 200,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.232,
    "c": 0.0323,
    "h": 232.2
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#0C202A
secondary
#653F2D
accent
#7B49DF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020405
muted
#787979

Preview Lab

Preview with #0C202A

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

Preview Lab → · Contrast checker → · Palette generator →

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