#0D1535#0D1535

#0D1535 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.064 H 269.6°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#0D1535
RGBrgb(13, 21, 53)
HSLhsl(228, 61%, 13%)
HSVhsv(228, 75%, 21%)
CMYKcmyk(75.5%, 60.4%, 0%, 79.2%)
CIE-LABlab(7.94, 9.11, -22.20)
CIE-LCHlch(7.94, 23.99, 292.30°)
OKLaboklab(20.98% -0.0004 -0.0636)
OKLCHoklch(20.98% 0.064 269.6)
XYZxyz(1.0765, 0.8788, 3.4804)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1535 #352D0D
analogous
#0D2935 #0D1535 #190D35
triadic
#0D1535 #350D15 #15350D
tetradic
#0D1535 #350D29 #352D0D #0D3519
square
#0D1535 #350D29 #352D0D #0D3519
split-complementary
#0D1535 #35190D #29350D
monochromatic
#060A19 #060A19 #0D1535 #192866 #253C97

Accessibility & contrast

On white

17.86
#0D1535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D1535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1535
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1535#FFFFFF#000000##FFFFFF
##0D15351.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d1535;
/* rgb */ color: rgb(13, 21, 53);
/* oklch */ color: oklch(21.0% 0.064 269.6);
Tailwind
colors: {
  custom: {
    50: '#51516c',
    500: '#0d1535',
    950: '#000000',
  },
}
SCSS
$custom: #0d1535;
$custom-light: #51516c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1535",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 228,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20975,
    "c": 0.06365,
    "h": 269.6
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#0D1535
secondary
#70632D
accent
#C444E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #0D1535

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

Preview Lab → · Contrast checker → · Palette generator →

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