#0C181E#0C181E

#0C181E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.021 H 230.9°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0C181E
RGBrgb(12, 24, 30)
HSLhsl(200, 43%, 8%)
HSVhsv(200, 60%, 12%)
CMYKcmyk(60%, 20%, 0%, 88.2%)
CIE-LABlab(7.45, -2.94, -5.85)
CIE-LCHlch(7.45, 6.55, 243.34°)
OKLaboklab(20.08% -0.0132 -0.0162)
OKLCHoklch(20.08% 0.021 230.9)
XYZxyz(0.7125, 0.8251, 1.3498)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C181E #1E120C
analogous
#0C1E1B #0C181E #0C0F1E
triadic
#0C181E #1E0C18 #181E0C
tetradic
#0C181E #1B0C1E #1E120C #0F1E0C
square
#0C181E #1B0C1E #1E120C #0F1E0C
split-complementary
#0C181E #1E0C0F #1E1B0C
monochromatic
#091116 #091116 #0C181E #1D3B4A #2F5E75

Accessibility & contrast

On white

18.03
#0C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C181E
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C181E#FFFFFF#000000##FFFFFF
##0C181E1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181E
Deuteranopia (green-blind)
#12161E
Tritanopia (blue-blind)
#051A1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c181e;
/* rgb */ color: rgb(12, 24, 30);
/* oklch */ color: oklch(20.1% 0.021 230.9);
Tailwind
colors: {
  custom: {
    50: '#4c5459',
    500: '#0c181e',
    950: '#000000',
  },
}
SCSS
$custom: #0c181e;
$custom-light: #4c5459;
$custom-dark: #000000;
JSON
{
  "hex": "#0c181e",
  "rgb": {
    "r": 12,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 200,
    "s": 42.857,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20078,
    "c": 0.02093,
    "h": 230.9
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#0C181E
secondary
#573C2F
accent
#7F55D3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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