#0D181F#0D181F

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

Color values

HEX#0D181F
RGBrgb(13, 24, 31)
HSLhsl(203, 41%, 9%)
HSVhsv(203, 58%, 12%)
CMYKcmyk(58.1%, 22.6%, 0%, 87.8%)
CIE-LABlab(7.57, -2.31, -6.43)
CIE-LCHlch(7.57, 6.83, 250.27°)
OKLaboklab(20.21% -0.0115 -0.0178)
OKLCHoklch(20.21% 0.021 237.1)
XYZxyz(0.7399, 0.8377, 1.4188)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D181F #1F140D
analogous
#0D1F1D #0D181F #0D0F1F
triadic
#0D181F #1F0D18 #181F0D
tetradic
#0D181F #1D0D1F #1F140D #0F1F0D
square
#0D181F #1D0D1F #1F140D #0F1F0D
split-complementary
#0D181F #1F0D0F #1F1D0D
monochromatic
#091116 #091116 #0D181F #1F394A #315B75

Accessibility & contrast

On white

17.99
#0D181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D181F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D181F#FFFFFF#000000##FFFFFF
##0D181F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181F
Deuteranopia (green-blind)
#12161F
Tritanopia (blue-blind)
#061A1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d181f;
/* rgb */ color: rgb(13, 24, 31);
/* oklch */ color: oklch(20.2% 0.021 237.1);
Tailwind
colors: {
  custom: {
    50: '#4c545a',
    500: '#0d181f',
    950: '#000000',
  },
}
SCSS
$custom: #0d181f;
$custom-light: #4c545a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d181f",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 203.333,
    "s": 40.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20207,
    "c": 0.02121,
    "h": 237.1
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#0D181F
secondary
#574030
accent
#8657D1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0D181F

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

Preview Lab → · Contrast checker → · Palette generator →

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