#0D121F#0D121F

#0D121F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.028 H 267.6°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#0D121F
RGBrgb(13, 18, 31)
HSLhsl(223, 41%, 9%)
HSVhsv(223, 58%, 12%)
CMYKcmyk(58.1%, 41.9%, 0%, 87.8%)
CIE-LABlab(5.57, 1.76, -9.46)
CIE-LCHlch(5.57, 9.62, 280.54°)
OKLaboklab(18.42% -0.0012 -0.0279)
OKLCHoklch(18.42% 0.028 267.6)
XYZxyz(0.6295, 0.6171, 1.3820)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D121F #1F1A0D
analogous
#0D1B1F #0D121F #110D1F
triadic
#0D121F #1F0D12 #121F0D
tetradic
#0D121F #1F0D1B #1F1A0D #0D1F11
square
#0D121F #1F0D1B #1F1A0D #0D1F11
split-complementary
#0D121F #1F110D #1B1F0D
monochromatic
#090D16 #090D16 #0D121F #1F2B4A #314475

Accessibility & contrast

On white

18.69
#0D121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D121F
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D121F#FFFFFF#000000##FFFFFF
##0D121F1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#0C121F
Tritanopia (blue-blind)
#071517
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d121f;
/* rgb */ color: rgb(13, 18, 31);
/* oklch */ color: oklch(18.4% 0.028 267.6);
Tailwind
colors: {
  custom: {
    50: '#4c505a',
    500: '#0d121f',
    950: '#000000',
  },
}
SCSS
$custom: #0d121f;
$custom-light: #4c505a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d121f",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 223.333,
    "s": 40.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18416,
    "c": 0.02793,
    "h": 267.6
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#0D121F
secondary
#574D30
accent
#AF57D1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0D121F

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

Preview Lab → · Contrast checker → · Palette generator →

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