#0C2131#0C2131

#0C2131 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.041 H 243.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#0C2131
RGBrgb(12, 33, 49)
HSLhsl(206, 61%, 12%)
HSVhsv(206, 76%, 19%)
CMYKcmyk(75.5%, 32.7%, 0%, 80.8%)
CIE-LABlab(11.87, -2.14, -13.06)
CIE-LCHlch(11.87, 13.23, 260.70°)
OKLaboklab(23.92% -0.0181 -0.0367)
OKLCHoklch(23.92% 0.041 243.8)
XYZxyz(1.2496, 1.3875, 3.1071)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2131 #311C0C
analogous
#0C312F #0C2131 #0C0F31
triadic
#0C2131 #310C21 #21310C
tetradic
#0C2131 #2F0C31 #311C0C #0F310C
square
#0C2131 #2F0C31 #311C0C #0F310C
split-complementary
#0C2131 #310C0F #312F0C
monochromatic
#061119 #061119 #0C2131 #184262 #246393

Accessibility & contrast

On white

16.44
#0C2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2131
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2131#FFFFFF#000000##FFFFFF
##0C21311.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2132
Deuteranopia (green-blind)
#151E31
Tritanopia (blue-blind)
#002527
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c2131;
/* rgb */ color: rgb(12, 33, 49);
/* oklch */ color: oklch(23.9% 0.041 243.8);
Tailwind
colors: {
  custom: {
    50: '#4f5c69',
    500: '#0c2131',
    950: '#000000',
  },
}
SCSS
$custom: #0c2131;
$custom-light: #4f5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2131",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 205.946,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2392,
    "c": 0.04097,
    "h": 243.8
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#0C2131
secondary
#6D482C
accent
#8944E4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C2131

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

Preview Lab → · Contrast checker → · Palette generator →

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