#0C141F#0C141F

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

Color values

HEX#0C141F
RGBrgb(12, 20, 31)
HSLhsl(215, 44%, 8%)
HSVhsv(215, 61%, 12%)
CMYKcmyk(61.3%, 35.5%, 0%, 87.8%)
CIE-LABlab(6.12, 0.21, -8.64)
CIE-LCHlch(6.12, 8.64, 271.40°)
OKLaboklab(18.92% -0.006 -0.0249)
OKLCHoklch(18.92% 0.026 256.5)
XYZxyz(0.6490, 0.6774, 1.3926)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141F #1F170C
analogous
#0C1D1F #0C141F #0D0C1F
triadic
#0C141F #1F0C14 #141F0C
tetradic
#0C141F #1F0C1D #1F170C #0C1F0D
square
#0C141F #1F0C1D #1F170C #0C1F0D
split-complementary
#0C141F #1F0D0C #1D1F0C
monochromatic
#090E16 #090E16 #0C141F #1D304B #2E4D77

Accessibility & contrast

On white

18.50
#0C141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0C141F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C141F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141F#FFFFFF#000000##FFFFFF
##0C141F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10151F
Deuteranopia (green-blind)
#0E131F
Tritanopia (blue-blind)
#051618
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c141f;
/* rgb */ color: rgb(12, 20, 31);
/* oklch */ color: oklch(18.9% 0.026 256.5);
Tailwind
colors: {
  custom: {
    50: '#4c515a',
    500: '#0c141f',
    950: '#000000',
  },
}
SCSS
$custom: #0c141f;
$custom-light: #4c515a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141f",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 214.737,
    "s": 44.186,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18918,
    "c": 0.02563,
    "h": 256.5
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#0C141F
secondary
#58472F
accent
#9E54D4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141F

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

Preview Lab → · Contrast checker → · Palette generator →

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