#0D0D42#0D0D42

#0D0D42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.096 H 273.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#0D0D42
RGBrgb(13, 13, 66)
HSLhsl(240, 67%, 15%)
HSVhsv(240, 80%, 26%)
CMYKcmyk(80.3%, 80.3%, 0%, 74.1%)
CIE-LABlab(6.92, 20.54, -33.19)
CIE-LCHlch(6.92, 39.03, 301.76°)
OKLaboklab(20.59% 0.0066 -0.0962)
OKLCHoklch(20.59% 0.096 273.9)
XYZxyz(1.2929, 0.7666, 5.2330)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D42 #42420D
analogous
#0D2742 #0D0D42 #270D42
triadic
#0D0D42 #420D0D #0D420D
tetradic
#0D0D42 #420D27 #42420D #0D4227
square
#0D0D42 #420D27 #42420D #0D4227
split-complementary
#0D0D42 #42270D #27420D
monochromatic
#05051A #05051A #0D0D42 #171775 #2121A8

Accessibility & contrast

On white

18.21
#0D0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D42
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D42#FFFFFF#000000##FFFFFF
##0D0D421.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0d42;
/* rgb */ color: rgb(13, 13, 66);
/* oklch */ color: oklch(20.6% 0.096 273.9);
Tailwind
colors: {
  custom: {
    50: '#554c77',
    500: '#0d0d42',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d42;
$custom-light: #554c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d42",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20592,
    "c": 0.09646,
    "h": 273.9
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#0D0D42
secondary
#7E7E2D
accent
#EA3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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