#0D1442#0D1442

#0D1442 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.087 H 270.7°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0D1442
RGBrgb(13, 20, 66)
HSLhsl(232, 67%, 15%)
HSVhsv(232, 80%, 26%)
CMYKcmyk(80.3%, 69.7%, 0%, 74.1%)
CIE-LABlab(8.82, 15.58, -30.09)
CIE-LCHlch(8.82, 33.88, 297.37°)
OKLaboklab(22.01% 0.0011 -0.0869)
OKLCHoklch(22.01% 0.087 270.7)
XYZxyz(1.3992, 0.9791, 5.2684)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1442 #423B0D
analogous
#0D2E42 #0D1442 #200D42
triadic
#0D1442 #420D14 #14420D
tetradic
#0D1442 #420D2E #423B0D #0D4220
square
#0D1442 #420D2E #423B0D #0D4220
split-complementary
#0D1442 #42200D #2E420D
monochromatic
#05081A #05081A #0D1442 #172375 #2133A8

Accessibility & contrast

On white

17.56
#0D1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1442
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1442#FFFFFF#000000##FFFFFF
##0D14421.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#001741
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d1442;
/* rgb */ color: rgb(13, 20, 66);
/* oklch */ color: oklch(22.0% 0.087 270.7);
Tailwind
colors: {
  custom: {
    50: '#555177',
    500: '#0d1442',
    950: '#000000',
  },
}
SCSS
$custom: #0d1442;
$custom-light: #555177;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1442",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 232.075,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22006,
    "c": 0.08688,
    "h": 270.7
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#0D1442
secondary
#7E732D
accent
#D33EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1442

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

Preview Lab → · Contrast checker → · Palette generator →

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