#0C141D#0C141D

#0C141D is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.8% C 0.022 H 251.9°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#0C141D
RGBrgb(12, 20, 29)
HSLhsl(212, 41%, 8%)
HSVhsv(212, 59%, 11%)
CMYKcmyk(58.6%, 31%, 0%, 88.6%)
CIE-LABlab(6.03, -0.43, -7.24)
CIE-LCHlch(6.03, 7.25, 266.58°)
OKLaboklab(18.8% -0.0069 -0.021)
OKLCHoklch(18.8% 0.022 251.9)
XYZxyz(0.6235, 0.6671, 1.2581)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141D #1D150C
analogous
#0C1C1D #0C141D #0C0C1D
triadic
#0C141D #1D0C14 #141D0C
tetradic
#0C141D #1D0C1C #1D150C #0C1D0C
square
#0C141D #1D0C1C #1D150C #0C1D0C
split-complementary
#0C141D #1D0C0C #1C1D0C
monochromatic
#090F16 #090F16 #0C141D #1E3248 #305074

Accessibility & contrast

On white

18.53
#0C141D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C141D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141D#FFFFFF#000000##FFFFFF
##0C141D1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141D
Deuteranopia (green-blind)
#0E131D
Tritanopia (blue-blind)
#061617
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c141d;
/* rgb */ color: rgb(12, 20, 29);
/* oklch */ color: oklch(18.8% 0.022 251.9);
Tailwind
colors: {
  custom: {
    50: '#4c5158',
    500: '#0c141d',
    950: '#000000',
  },
}
SCSS
$custom: #0c141d;
$custom-light: #4c5158;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141d",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 29
  },
  "hsl": {
    "h": 211.765,
    "s": 41.463,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18795,
    "c": 0.0221,
    "h": 251.9
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#0C141D
secondary
#56442F
accent
#9857D1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141D

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

Preview Lab → · Contrast checker → · Palette generator →

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