#0D0D52#0D0D52

#0D0D52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.119 H 271.6°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#0D0D52
RGBrgb(13, 13, 82)
HSLhsl(240, 73%, 19%)
HSVhsv(240, 84%, 32%)
CMYKcmyk(84.1%, 84.1%, 0%, 67.8%)
CIE-LABlab(8.84, 26.98, -41.19)
CIE-LCHlch(8.84, 49.24, 303.23°)
OKLaboklab(22.58% 0.0033 -0.1192)
OKLCHoklch(22.58% 0.119 271.6)
XYZxyz(1.8324, 0.9824, 8.0741)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D52 #52520D
analogous
#0D2F52 #0D0D52 #2F0D52
triadic
#0D0D52 #520D0D #0D520D
tetradic
#0D0D52 #520D2F #52520D #0D522F
square
#0D0D52 #520D2F #52520D #0D522F
split-complementary
#0D0D52 #522F0D #2F520D
monochromatic
#04041A #05051D #0D0D52 #151587 #1E1EBC

Accessibility & contrast

On white

17.55
#0D0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D52
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D52#FFFFFF#000000##FFFFFF
##0D0D521.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001651
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d0d52;
/* rgb */ color: rgb(13, 13, 82);
/* oklch */ color: oklch(22.6% 0.119 271.6);
Tailwind
colors: {
  custom: {
    50: '#5b4d84',
    500: '#0d0d52',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d52;
$custom-light: #5b4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d52",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 240,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22576,
    "c": 0.11929,
    "h": 271.6
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#0D0D52
secondary
#8D8D2E
accent
#EF38EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010B
muted
#79777C

Preview Lab

Preview with #0D0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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