#0D0D36#0D0D36

#0D0D36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.078 H 276.2°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0D0D36
RGBrgb(13, 13, 54)
HSLhsl(240, 61%, 13%)
HSVhsv(240, 76%, 21%)
CMYKcmyk(75.9%, 75.9%, 0%, 78.8%)
CIE-LABlab(5.78, 14.79, -26.41)
CIE-LCHlch(5.78, 30.27, 299.24°)
OKLaboklab(19.22% 0.0084 -0.0774)
OKLCHoklch(19.22% 0.078 276.2)
XYZxyz(0.9755, 0.6397, 3.5614)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D36 #36360D
analogous
#0D2136 #0D0D36 #210D36
triadic
#0D0D36 #360D0D #0D360D
tetradic
#0D0D36 #360D21 #36360D #0D3621
square
#0D0D36 #360D21 #36360D #0D3621
split-complementary
#0D0D36 #36210D #21360D
monochromatic
#060619 #060619 #0D0D36 #191967 #252599

Accessibility & contrast

On white

18.62
#0D0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D36
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D36#FFFFFF#000000##FFFFFF
##0D0D361.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#00181F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0d36;
/* rgb */ color: rgb(13, 13, 54);
/* oklch */ color: oklch(19.2% 0.078 276.2);
Tailwind
colors: {
  custom: {
    50: '#514c6d',
    500: '#0d0d36',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d36;
$custom-light: #514c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d36",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19216,
    "c": 0.07783,
    "h": 276.2
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#0D0D36
secondary
#71712D
accent
#E443E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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