#0D0E52#0D0E52

#0D0E52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.118 H 271.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#0D0E52
RGBrgb(13, 14, 82)
HSLhsl(239, 73%, 19%)
HSVhsv(239, 84%, 32%)
CMYKcmyk(84.1%, 82.9%, 0%, 67.8%)
CIE-LABlab(9.06, 26.36, -40.83)
CIE-LCHlch(9.06, 48.60, 302.85°)
OKLaboklab(22.73% 0.0028 -0.1182)
OKLCHoklch(22.73% 0.118 271.4)
XYZxyz(1.8455, 1.0086, 8.0784)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E52 #52510D
analogous
#0D3052 #0D0E52 #2E0D52
triadic
#0D0E52 #520D0E #0E520D
tetradic
#0D0E52 #520D30 #52510D #0D522E
square
#0D0E52 #520D30 #52510D #0D522E
split-complementary
#0D0E52 #522E0D #30520D
monochromatic
#04051A #05051D #0D0E52 #151787 #1E20BC

Accessibility & contrast

On white

17.47
#0D0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0E52
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E52#FFFFFF#000000##FFFFFF
##0D0E521.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0e52;
/* rgb */ color: rgb(13, 14, 82);
/* oklch */ color: oklch(22.7% 0.118 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a4d83',
    500: '#0d0e52',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e52;
$custom-light: #5a4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e52",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 239.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2273,
    "c": 0.11824,
    "h": 271.4
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#0D0E52
secondary
#8D8C2E
accent
#ED38EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010B
muted
#79777C

Preview Lab

Preview with #0D0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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