#0D1642#0D1642

#0D1642 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.084 H 269.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0D1642
RGBrgb(13, 22, 66)
HSLhsl(230, 67%, 15%)
HSVhsv(230, 80%, 26%)
CMYKcmyk(80.3%, 66.7%, 0%, 74.1%)
CIE-LABlab(9.42, 14.03, -29.10)
CIE-LCHlch(9.42, 32.31, 295.73°)
OKLaboklab(22.46% -0.0007 -0.0839)
OKLCHoklch(22.46% 0.084 269.5)
XYZxyz(1.4359, 1.0526, 5.2807)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1642 #42390D
analogous
#0D3042 #0D1642 #1E0D42
triadic
#0D1642 #420D16 #16420D
tetradic
#0D1642 #420D30 #42390D #0D421E
square
#0D1642 #420D30 #42390D #0D421E
split-complementary
#0D1642 #421E0D #30420D
monochromatic
#05091A #05091A #0D1642 #172775 #2138A8

Accessibility & contrast

On white

17.35
#0D1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1642
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1642#FFFFFF#000000##FFFFFF
##0D16421.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d1642;
/* rgb */ color: rgb(13, 22, 66);
/* oklch */ color: oklch(22.5% 0.084 269.5);
Tailwind
colors: {
  custom: {
    50: '#555277',
    500: '#0d1642',
    950: '#000000',
  },
}
SCSS
$custom: #0d1642;
$custom-light: #555277;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1642",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 229.811,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22456,
    "c": 0.08395,
    "h": 269.5
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#0D1642
secondary
#7E702D
accent
#CD3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1642

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

Preview Lab → · Contrast checker → · Palette generator →

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