#0D1545#0D1545

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

Color values

HEX#0D1545
RGBrgb(13, 21, 69)
HSLhsl(231, 68%, 16%)
HSVhsv(231, 81%, 27%)
CMYKcmyk(81.2%, 69.6%, 0%, 72.9%)
CIE-LABlab(9.41, 16.10, -31.23)
CIE-LCHlch(9.41, 35.14, 297.27°)
OKLaboklab(22.54% 0.0002 -0.0902)
OKLCHoklch(22.54% 0.09 270.1)
XYZxyz(1.5080, 1.0514, 5.7525)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1545 #453D0D
analogous
#0D3145 #0D1545 #210D45
triadic
#0D1545 #450D15 #15450D
tetradic
#0D1545 #450D31 #453D0D #0D4521
square
#0D1545 #450D31 #453D0D #0D4521
split-complementary
#0D1545 #45210D #31450D
monochromatic
#05081A #05081A #0D1545 #172578 #2034AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D1545#FFFFFF#000000##FFFFFF
##0D15451.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)
#001D47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d1545;
/* rgb */ color: rgb(13, 21, 69);
/* oklch */ color: oklch(22.5% 0.090 270.1);
Tailwind
colors: {
  custom: {
    50: '#565279',
    500: '#0d1545',
    950: '#000000',
  },
}
SCSS
$custom: #0d1545;
$custom-light: #565279;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1545",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 231.429,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2254,
    "c": 0.0902,
    "h": 270.1
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#0D1545
secondary
#80752D
accent
#D23DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1545

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

Preview Lab → · Contrast checker → · Palette generator →

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