#0D1544#0D1544

#0D1544 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.089 H 270.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#0D1544
RGBrgb(13, 21, 68)
HSLhsl(231, 68%, 16%)
HSVhsv(231, 81%, 27%)
CMYKcmyk(80.9%, 69.1%, 0%, 73.3%)
CIE-LABlab(9.31, 15.67, -30.69)
CIE-LCHlch(9.31, 34.46, 297.05°)
OKLaboklab(22.44% 0.0002 -0.0886)
OKLCHoklch(22.44% 0.089 270.1)
XYZxyz(1.4772, 1.0391, 5.5904)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1544 #443C0D
analogous
#0D3044 #0D1544 #200D44
triadic
#0D1544 #440D15 #15440D
tetradic
#0D1544 #440D30 #443C0D #0D4420
square
#0D1544 #440D30 #443C0D #0D4420
split-complementary
#0D1544 #44200D #30440D
monochromatic
#05081A #05081A #0D1544 #172577 #2135AB

Accessibility & contrast

On white

17.39
#0D1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1544
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1544#FFFFFF#000000##FFFFFF
##0D15441.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d1544;
/* rgb */ color: rgb(13, 21, 68);
/* oklch */ color: oklch(22.4% 0.089 270.1);
Tailwind
colors: {
  custom: {
    50: '#555278',
    500: '#0d1544',
    950: '#000000',
  },
}
SCSS
$custom: #0d1544;
$custom-light: #555278;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1544",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 231.273,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22435,
    "c": 0.08862,
    "h": 270.1
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#0D1544
secondary
#7F742D
accent
#D13DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1544

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

Preview Lab → · Contrast checker → · Palette generator →

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