#0D0538#0D0538

#0D0538 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.092 H 279.5°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#0D0538
RGBrgb(13, 5, 56)
HSLhsl(249, 84%, 12%)
HSVhsv(249, 91%, 22%)
CMYKcmyk(76.8%, 91.1%, 0%, 78%)
CIE-LABlab(4.33, 19.45, -30.21)
CIE-LCHlch(4.33, 35.93, 302.77°)
OKLaboklab(17.88% 0.0152 -0.0911)
OKLCHoklch(17.88% 0.092 279.5)
XYZxyz(0.9338, 0.4796, 3.7840)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0538 #303805
analogous
#051738 #0D0538 #270538
triadic
#0D0538 #380D05 #05380D
tetradic
#0D0538 #380517 #303805 #053827
square
#0D0538 #380517 #303805 #053827
split-complementary
#0D0538 #382705 #173805
monochromatic
#07031C #07031C #0D0538 #1A0A70 #270FA8

Accessibility & contrast

On white

19.16
#0D0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0538
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0538#FFFFFF#000000##FFFFFF
##0D05381.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0538;
/* rgb */ color: rgb(13, 5, 56);
/* oklch */ color: oklch(17.9% 0.092 279.5);
Tailwind
colors: {
  custom: {
    50: '#52486f',
    500: '#0d0538',
    950: '#000000',
  },
}
SCSS
$custom: #0d0538;
$custom-light: #52486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0538",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 249.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17883,
    "c": 0.09232,
    "h": 279.5
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#0D0538
secondary
#6B7920
accent
#FA2EDA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0D0538

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

Preview Lab → · Contrast checker → · Palette generator →

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