#0C161A#0C161A

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

Color values

HEX#0C161A
RGBrgb(12, 22, 26)
HSLhsl(197, 37%, 7%)
HSVhsv(197, 54%, 10%)
CMYKcmyk(53.8%, 15.4%, 0%, 89.8%)
CIE-LABlab(6.56, -2.69, -4.13)
CIE-LCHlch(6.56, 4.93, 236.94°)
OKLaboklab(19.24% -0.0119 -0.0118)
OKLCHoklch(19.24% 0.017 224.9)
XYZxyz(0.6249, 0.7265, 1.0844)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C161A #1A100C
analogous
#0C1A17 #0C161A #0C0F1A
triadic
#0C161A #1A0C16 #161A0C
tetradic
#0C161A #170C1A #1A100C #0F1A0C
square
#0C161A #170C1A #1A100C #0F1A0C
split-complementary
#0C161A #1A0C0F #1A170C
monochromatic
#0A1215 #0A1215 #0C161A #1F3944 #335D6E

Accessibility & contrast

On white

18.33
#0C161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C161A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C161A#FFFFFF#000000##FFFFFF
##0C161A1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14151A
Deuteranopia (green-blind)
#12141A
Tritanopia (blue-blind)
#071717
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c161a;
/* rgb */ color: rgb(12, 22, 26);
/* oklch */ color: oklch(19.2% 0.017 224.9);
Tailwind
colors: {
  custom: {
    50: '#4c5256',
    500: '#0c161a',
    950: '#000000',
  },
}
SCSS
$custom: #0c161a;
$custom-light: #4c5256;
$custom-dark: #000000;
JSON
{
  "hex": "#0c161a",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 197.143,
    "s": 36.842,
    "l": 7.451
  },
  "oklch": {
    "l": 0.19242,
    "c": 0.01673,
    "h": 224.9
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#0C161A
secondary
#523A30
accent
#7C5BCD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C161A

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

Preview Lab → · Contrast checker → · Palette generator →

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