#0D0539#0D0539

#0D0539 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.094 H 279.1°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#0D0539
RGBrgb(13, 5, 57)
HSLhsl(249, 84%, 12%)
HSVhsv(249, 91%, 22%)
CMYKcmyk(77.2%, 91.2%, 0%, 77.6%)
CIE-LABlab(4.42, 20.00, -30.80)
CIE-LCHlch(4.42, 36.72, 303.00°)
OKLaboklab(18.02% 0.0148 -0.0925)
OKLCHoklch(18.02% 0.094 279.1)
XYZxyz(0.9585, 0.4894, 3.9141)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0539 #313905
analogous
#051739 #0D0539 #270539
triadic
#0D0539 #390D05 #05390D
tetradic
#0D0539 #390517 #313905 #053927
square
#0D0539 #390517 #313905 #053927
split-complementary
#0D0539 #392705 #173905
monochromatic
#06021C #06021C #0D0539 #1A0A71 #270FAA

Accessibility & contrast

On white

19.13
#0D0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0539
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0539#FFFFFF#000000##FFFFFF
##0D05391.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0539;
/* rgb */ color: rgb(13, 5, 57);
/* oklch */ color: oklch(18.0% 0.094 279.1);
Tailwind
colors: {
  custom: {
    50: '#524870',
    500: '#0d0539',
    950: '#000000',
  },
}
SCSS
$custom: #0d0539;
$custom-light: #524870;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0539",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 249.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18015,
    "c": 0.09373,
    "h": 279.1
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#0D0539
secondary
#6C7A20
accent
#FA2EDB
background
#F4F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0D0539

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

Preview Lab → · Contrast checker → · Palette generator →

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