#0D1842#0D1842

#0D1842 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.081 H 268.2°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0D1842
RGBrgb(13, 24, 66)
HSLhsl(228, 67%, 15%)
HSVhsv(228, 80%, 26%)
CMYKcmyk(80.3%, 63.6%, 0%, 74.1%)
CIE-LABlab(10.05, 12.47, -28.09)
CIE-LCHlch(10.05, 30.73, 293.93°)
OKLaboklab(22.92% -0.0025 -0.0809)
OKLCHoklch(22.92% 0.081 268.2)
XYZxyz(1.4756, 1.1320, 5.2939)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1842 #42370D
analogous
#0D3242 #0D1842 #1C0D42
triadic
#0D1842 #420D18 #18420D
tetradic
#0D1842 #420D32 #42370D #0D421C
square
#0D1842 #420D32 #42370D #0D421C
split-complementary
#0D1842 #421C0D #32420D
monochromatic
#05091A #05091A #0D1842 #172B75 #213DA8

Accessibility & contrast

On white

17.12
#0D1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1842
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1842#FFFFFF#000000##FFFFFF
##0D18421.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1842;
/* rgb */ color: rgb(13, 24, 66);
/* oklch */ color: oklch(22.9% 0.081 268.2);
Tailwind
colors: {
  custom: {
    50: '#545477',
    500: '#0d1842',
    950: '#000000',
  },
}
SCSS
$custom: #0d1842;
$custom-light: #545477;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1842",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 227.547,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22922,
    "c": 0.08097,
    "h": 268.2
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#0D1842
secondary
#7E6D2D
accent
#C63EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1842

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

Preview Lab → · Contrast checker → · Palette generator →

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