#0C141C#0C141C

#0C141C is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.7% C 0.020 H 249.0°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0C141C
RGBrgb(12, 20, 28)
HSLhsl(210, 40%, 8%)
HSVhsv(210, 57%, 11%)
CMYKcmyk(57.1%, 28.6%, 0%, 89%)
CIE-LABlab(5.98, -0.75, -6.53)
CIE-LCHlch(5.98, 6.58, 263.49°)
OKLaboklab(18.74% -0.0073 -0.019)
OKLCHoklch(18.74% 0.02 249)
XYZxyz(0.6113, 0.6623, 1.1940)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141C #1C140C
analogous
#0C1C1C #0C141C #0C0C1C
triadic
#0C141C #1C0C14 #141C0C
tetradic
#0C141C #1C0C1C #1C140C #0C1C0C
square
#0C141C #1C0C1C #1C140C #0C1C0C
split-complementary
#0C141C #1C0C0C #1C1C0C
monochromatic
#090F15 #090F15 #0C141C #1E3347 #315172

Accessibility & contrast

On white

18.54
#0C141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C141C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141C#FFFFFF#000000##FFFFFF
##0C141C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141C
Deuteranopia (green-blind)
#0F131C
Tritanopia (blue-blind)
#071617
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c141c;
/* rgb */ color: rgb(12, 20, 28);
/* oklch */ color: oklch(18.7% 0.020 249.0);
Tailwind
colors: {
  custom: {
    50: '#4c5158',
    500: '#0c141c',
    950: '#000000',
  },
}
SCSS
$custom: #0c141c;
$custom-light: #4c5158;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141c",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 210,
    "s": 40,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18735,
    "c": 0.02041,
    "h": 249
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#0C141C
secondary
#54422F
accent
#9458D0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141C

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

Preview Lab → · Contrast checker → · Palette generator →

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