#0C141E#0C141E

#0C141E is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.9% C 0.024 H 254.4°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#0C141E
RGBrgb(12, 20, 30)
HSLhsl(213, 43%, 8%)
HSVhsv(213, 60%, 12%)
CMYKcmyk(60%, 33.3%, 0%, 88.2%)
CIE-LABlab(6.07, -0.12, -7.94)
CIE-LCHlch(6.07, 7.94, 269.14°)
OKLaboklab(18.86% -0.0064 -0.023)
OKLCHoklch(18.86% 0.024 254.4)
XYZxyz(0.6360, 0.6722, 1.3243)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141E #1E160C
analogous
#0C1D1E #0C141E #0D0C1E
triadic
#0C141E #1E0C14 #141E0C
tetradic
#0C141E #1E0C1D #1E160C #0C1E0D
square
#0C141E #1E0C1D #1E160C #0C1E0D
split-complementary
#0C141E #1E0D0C #1D1E0C
monochromatic
#090F16 #090F16 #0C141E #1D314A #2F4E75

Accessibility & contrast

On white

18.51
#0C141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C141E
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141E#FFFFFF#000000##FFFFFF
##0C141E1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141E
Deuteranopia (green-blind)
#0E131E
Tritanopia (blue-blind)
#061617
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c141e;
/* rgb */ color: rgb(12, 20, 30);
/* oklch */ color: oklch(18.9% 0.024 254.4);
Tailwind
colors: {
  custom: {
    50: '#4c5159',
    500: '#0c141e',
    950: '#000000',
  },
}
SCSS
$custom: #0c141e;
$custom-light: #4c5159;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141e",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 213.333,
    "s": 42.857,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18856,
    "c": 0.02385,
    "h": 254.4
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#0C141E
secondary
#57452F
accent
#9B55D3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141E

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

Preview Lab → · Contrast checker → · Palette generator →

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