#0D0D39#0D0D39

#0D0D39 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.083 H 275.6°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#0D0D39
RGBrgb(13, 13, 57)
HSLhsl(240, 63%, 14%)
HSVhsv(240, 77%, 22%)
CMYKcmyk(77.2%, 77.2%, 0%, 77.6%)
CIE-LABlab(6.04, 16.29, -28.17)
CIE-LCHlch(6.04, 32.55, 300.04°)
OKLaboklab(19.55% 0.008 -0.0822)
OKLCHoklch(19.55% 0.083 275.6)
XYZxyz(1.0482, 0.6687, 3.9439)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D39 #39390D
analogous
#0D2339 #0D0D39 #230D39
triadic
#0D0D39 #390D0D #0D390D
tetradic
#0D0D39 #390D23 #39390D #0D3923
square
#0D0D39 #390D23 #39390D #0D3923
split-complementary
#0D0D39 #39230D #23390D
monochromatic
#060619 #060619 #0D0D39 #18186B #24249D

Accessibility & contrast

On white

18.52
#0D0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D39
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D39#FFFFFF#000000##FFFFFF
##0D0D391.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0d39;
/* rgb */ color: rgb(13, 13, 57);
/* oklch */ color: oklch(19.5% 0.083 275.6);
Tailwind
colors: {
  custom: {
    50: '#524c70',
    500: '#0d0d39',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d39;
$custom-light: #524c70;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d39",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 240,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19549,
    "c": 0.08263,
    "h": 275.6
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#0D0D39
secondary
#74742D
accent
#E642E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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