#0C141B#0C141B

#0C141B is a very dark, near-neutral cyan. Relative luminance 0.007; OKLCH L 18.7% C 0.019 H 245.4°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0C141B
RGBrgb(12, 20, 27)
HSLhsl(208, 38%, 8%)
HSVhsv(208, 56%, 11%)
CMYKcmyk(55.6%, 25.9%, 0%, 89.4%)
CIE-LABlab(5.94, -1.05, -5.82)
CIE-LCHlch(5.94, 5.92, 259.82°)
OKLaboklab(18.68% -0.0078 -0.0171)
OKLCHoklch(18.68% 0.019 245.4)
XYZxyz(0.5995, 0.6576, 1.1320)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141B #1B130C
analogous
#0C1B1A #0C141B #0C0C1B
triadic
#0C141B #1B0C14 #141B0C
tetradic
#0C141B #1A0C1B #1B130C #0C1B0C
square
#0C141B #1A0C1B #1B130C #0C1B0C
split-complementary
#0C141B #1B0C0C #1B1A0C
monochromatic
#091015 #091015 #0C141B #1F3345 #325370

Accessibility & contrast

On white

18.56
#0C141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C141B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C141B
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141B#FFFFFF#000000##FFFFFF
##0C141B1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141B
Deuteranopia (green-blind)
#0F121B
Tritanopia (blue-blind)
#071616
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c141b;
/* rgb */ color: rgb(12, 20, 27);
/* oklch */ color: oklch(18.7% 0.019 245.4);
Tailwind
colors: {
  custom: {
    50: '#4c5157',
    500: '#0c141b',
    950: '#000000',
  },
}
SCSS
$custom: #0c141b;
$custom-light: #4c5157;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141b",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 208,
    "s": 38.462,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18677,
    "c": 0.01879,
    "h": 245.4
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#0C141B
secondary
#534030
accent
#9059CE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141B

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

Preview Lab → · Contrast checker → · Palette generator →

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