#0D1549#0D1549

#0D1549 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.096 H 270.0°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0D1549
RGBrgb(13, 21, 73)
HSLhsl(232, 70%, 17%)
HSVhsv(232, 82%, 29%)
CMYKcmyk(82.2%, 71.2%, 0%, 71.4%)
CIE-LABlab(9.82, 17.81, -33.36)
CIE-LCHlch(9.82, 37.82, 298.10°)
OKLaboklab(22.97% 0 -0.0964)
OKLCHoklch(22.97% 0.096 270)
XYZxyz(1.6363, 1.1028, 6.4287)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1549 #49410D
analogous
#0D3349 #0D1549 #230D49
triadic
#0D1549 #490D15 #15490D
tetradic
#0D1549 #490D33 #49410D #0D4923
square
#0D1549 #490D33 #49410D #0D4923
split-complementary
#0D1549 #49230D #33490D
monochromatic
#05071A #05071A #0D1549 #16247D #2033B1

Accessibility & contrast

On white

17.20
#0D1549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1549
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1549#FFFFFF#000000##FFFFFF
##0D15491.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001848
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1549;
/* rgb */ color: rgb(13, 21, 73);
/* oklch */ color: oklch(23.0% 0.096 270.0);
Tailwind
colors: {
  custom: {
    50: '#57527c',
    500: '#0d1549',
    950: '#000000',
  },
}
SCSS
$custom: #0d1549;
$custom-light: #57527c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1549",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 232,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22965,
    "c": 0.09644,
    "h": 270
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#0D1549
secondary
#84792D
accent
#D53BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0D1549

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

Preview Lab → · Contrast checker → · Palette generator →

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