#0C181A#0C181A

#0C181A is a very dark, near-neutral teal. Relative luminance 0.008; OKLCH L 19.9% C 0.018 H 209.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0C181A
RGBrgb(12, 24, 26)
HSLhsl(189, 37%, 7%)
HSVhsv(189, 54%, 10%)
CMYKcmyk(53.8%, 7.7%, 0%, 89.8%)
CIE-LABlab(7.28, -4.16, -3.07)
CIE-LCHlch(7.28, 5.16, 216.40°)
OKLaboklab(19.87% -0.0153 -0.0085)
OKLCHoklch(19.87% 0.018 209)
XYZxyz(0.6646, 0.8060, 1.0976)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C181A #1A0E0C
analogous
#0C1A15 #0C181A #0C111A
triadic
#0C181A #1A0C18 #181A0C
tetradic
#0C181A #150C1A #1A0E0C #111A0C
square
#0C181A #150C1A #1A0E0C #111A0C
split-complementary
#0C181A #1A0C11 #1A150C
monochromatic
#0A1315 #0A1315 #0C181A #1F3F44 #33656E

Accessibility & contrast

On white

18.08
#0C181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0C181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C181A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C181A#FFFFFF#000000##FFFFFF
##0C181A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#071919
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c181a;
/* rgb */ color: rgb(12, 24, 26);
/* oklch */ color: oklch(19.9% 0.018 209.0);
Tailwind
colors: {
  custom: {
    50: '#4c5456',
    500: '#0c181a',
    950: '#000000',
  },
}
SCSS
$custom: #0c181a;
$custom-light: #4c5456;
$custom-dark: #000000;
JSON
{
  "hex": "#0c181a",
  "rgb": {
    "r": 12,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 188.571,
    "s": 36.842,
    "l": 7.451
  },
  "oklch": {
    "l": 0.19872,
    "c": 0.01755,
    "h": 209
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#0C181A
secondary
#523530
accent
#6B5BCD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C181A

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

Preview Lab → · Contrast checker → · Palette generator →

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