#0D0537#0D0537

#0D0537 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.091 H 279.8°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#0D0537
RGBrgb(13, 5, 55)
HSLhsl(250, 83%, 12%)
HSVhsv(250, 91%, 22%)
CMYKcmyk(76.4%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.24, 18.89, -29.62)
CIE-LCHlch(4.24, 35.13, 302.53°)
OKLaboklab(17.75% 0.0155 -0.0896)
OKLCHoklch(17.75% 0.091 279.8)
XYZxyz(0.9096, 0.4699, 3.6564)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0537 #2F3705
analogous
#051637 #0D0537 #260537
triadic
#0D0537 #370D05 #05370D
tetradic
#0D0537 #370516 #2F3705 #053726
square
#0D0537 #370516 #2F3705 #053726
split-complementary
#0D0537 #372605 #163705
monochromatic
#07031C #07031C #0D0537 #1A0A6F #280FA7

Accessibility & contrast

On white

19.20
#0D0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D0537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0537
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0537#FFFFFF#000000##FFFFFF
##0D05371.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0537;
/* rgb */ color: rgb(13, 5, 55);
/* oklch */ color: oklch(17.8% 0.091 279.8);
Tailwind
colors: {
  custom: {
    50: '#52486e',
    500: '#0d0537',
    950: '#000000',
  },
}
SCSS
$custom: #0d0537;
$custom-light: #52486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0537",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 249.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17752,
    "c": 0.09091,
    "h": 279.8
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#0D0537
secondary
#6A7820
accent
#FA2ED9
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0537

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

Preview Lab → · Contrast checker → · Palette generator →

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