#0C141A#0C141A

#0C141A is a very dark, near-neutral cyan. Relative luminance 0.007; OKLCH L 18.6% C 0.017 H 241.2°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0C141A
RGBrgb(12, 20, 26)
HSLhsl(206, 37%, 7%)
HSVhsv(206, 54%, 10%)
CMYKcmyk(53.8%, 23.1%, 0%, 89.8%)
CIE-LABlab(5.90, -1.33, -5.11)
CIE-LCHlch(5.90, 5.28, 255.42°)
OKLaboklab(18.62% -0.0083 -0.0151)
OKLCHoklch(18.62% 0.017 241.2)
XYZxyz(0.5882, 0.6530, 1.0721)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C141A #1A120C
analogous
#0C1A19 #0C141A #0C0D1A
triadic
#0C141A #1A0C14 #141A0C
tetradic
#0C141A #190C1A #1A120C #0D1A0C
square
#0C141A #190C1A #1A120C #0D1A0C
split-complementary
#0C141A #1A0C0D #1A190C
monochromatic
#0A1015 #0A1015 #0C141A #1F3444 #33546E

Accessibility & contrast

On white

18.57
#0C141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C141A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C141A#FFFFFF#000000##FFFFFF
##0C141A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141A
Deuteranopia (green-blind)
#10121A
Tritanopia (blue-blind)
#071516
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c141a;
/* rgb */ color: rgb(12, 20, 26);
/* oklch */ color: oklch(18.6% 0.017 241.2);
Tailwind
colors: {
  custom: {
    50: '#4c5156',
    500: '#0c141a',
    950: '#000000',
  },
}
SCSS
$custom: #0c141a;
$custom-light: #4c5156;
$custom-dark: #000000;
JSON
{
  "hex": "#0c141a",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 205.714,
    "s": 36.842,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18621,
    "c": 0.01725,
    "h": 241.2
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#0C141A
secondary
#523F30
accent
#8C5BCD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C141A

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

Preview Lab → · Contrast checker → · Palette generator →

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