#0D1547#0D1547

#0D1547 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.093 H 270.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#0D1547
RGBrgb(13, 21, 71)
HSLhsl(232, 69%, 16%)
HSVhsv(232, 82%, 28%)
CMYKcmyk(81.7%, 70.4%, 0%, 72.2%)
CIE-LABlab(9.61, 16.96, -32.30)
CIE-LCHlch(9.61, 36.48, 297.70°)
OKLaboklab(22.75% 0.0001 -0.0933)
OKLCHoklch(22.75% 0.093 270.1)
XYZxyz(1.5711, 1.0767, 6.0850)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1547 #473F0D
analogous
#0D3247 #0D1547 #220D47
triadic
#0D1547 #470D15 #15470D
tetradic
#0D1547 #470D32 #473F0D #0D4722
square
#0D1547 #470D32 #473F0D #0D4722
split-complementary
#0D1547 #47220D #32470D
monochromatic
#05081A #05081A #0D1547 #16247B #2034AE

Accessibility & contrast

On white

17.28
#0D1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1547
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1547#FFFFFF#000000##FFFFFF
##0D15471.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1547;
/* rgb */ color: rgb(13, 21, 71);
/* oklch */ color: oklch(22.8% 0.093 270.1);
Tailwind
colors: {
  custom: {
    50: '#56527b',
    500: '#0d1547',
    950: '#000000',
  },
}
SCSS
$custom: #0d1547;
$custom-light: #56527b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1547",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 231.724,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22751,
    "c": 0.09334,
    "h": 270.1
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#0D1547
secondary
#82772D
accent
#D43CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1547

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

Preview Lab → · Contrast checker → · Palette generator →

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