#0D131F#0D131F

#0D131F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.026 H 263.6°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#0D131F
RGBrgb(13, 19, 31)
HSLhsl(220, 41%, 9%)
HSVhsv(220, 58%, 12%)
CMYKcmyk(58.1%, 38.7%, 0%, 87.8%)
CIE-LABlab(5.87, 1.15, -9.00)
CIE-LCHlch(5.87, 9.08, 277.29°)
OKLaboklab(18.71% -0.0029 -0.0262)
OKLCHoklch(18.71% 0.026 263.6)
XYZxyz(0.6461, 0.6502, 1.3875)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D131F #1F190D
analogous
#0D1C1F #0D131F #100D1F
triadic
#0D131F #1F0D13 #131F0D
tetradic
#0D131F #1F0D1C #1F190D #0D1F10
square
#0D131F #1F0D1C #1F190D #0D1F10
split-complementary
#0D131F #1F100D #1C1F0D
monochromatic
#090D16 #090D16 #0D131F #1F2D4A #314875

Accessibility & contrast

On white

18.58
#0D131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D131F
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D131F#FFFFFF#000000##FFFFFF
##0D131F1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#0D121F
Tritanopia (blue-blind)
#071617
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d131f;
/* rgb */ color: rgb(13, 19, 31);
/* oklch */ color: oklch(18.7% 0.026 263.6);
Tailwind
colors: {
  custom: {
    50: '#4c505a',
    500: '#0d131f',
    950: '#000000',
  },
}
SCSS
$custom: #0d131f;
$custom-light: #4c505a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d131f",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 220,
    "s": 40.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18707,
    "c": 0.02638,
    "h": 263.6
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#0D131F
secondary
#574A30
accent
#A857D1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0D131F

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

Preview Lab → · Contrast checker → · Palette generator →

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