#0D1533#0D1533

#0D1533 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.060 H 269.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#0D1533
RGBrgb(13, 21, 51)
HSLhsl(227, 59%, 13%)
HSVhsv(227, 75%, 20%)
CMYKcmyk(74.5%, 58.8%, 0%, 80%)
CIE-LABlab(7.78, 8.22, -21.00)
CIE-LCHlch(7.78, 22.55, 291.37°)
OKLaboklab(20.8% -0.0007 -0.0601)
OKLCHoklch(20.8% 0.06 269.4)
XYZxyz(1.0315, 0.8608, 3.2431)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1533 #332B0D
analogous
#0D2833 #0D1533 #180D33
triadic
#0D1533 #330D15 #15330D
tetradic
#0D1533 #330D28 #332B0D #0D3318
square
#0D1533 #330D28 #332B0D #0D3318
split-complementary
#0D1533 #33180D #28330D
monochromatic
#060A18 #060A18 #0D1533 #192964 #263D95

Accessibility & contrast

On white

17.92
#0D1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1533
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1533#FFFFFF#000000##FFFFFF
##0D15331.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d1533;
/* rgb */ color: rgb(13, 21, 51);
/* oklch */ color: oklch(20.8% 0.060 269.4);
Tailwind
colors: {
  custom: {
    50: '#50516b',
    500: '#0d1533',
    950: '#000000',
  },
}
SCSS
$custom: #0d1533;
$custom-light: #50516b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1533",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 227.368,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20798,
    "c": 0.06015,
    "h": 269.4
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#0D1533
secondary
#6E612E
accent
#C145E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D1533

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

Preview Lab → · Contrast checker → · Palette generator →

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