#0D1E52#0D1E52

#0D1E52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.098 H 265.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#0D1E52
RGBrgb(13, 30, 82)
HSLhsl(225, 73%, 19%)
HSVhsv(225, 84%, 32%)
CMYKcmyk(84.1%, 63.4%, 0%, 67.8%)
CIE-LABlab(13.37, 14.87, -33.76)
CIE-LCHlch(13.37, 36.89, 293.78°)
OKLaboklab(25.87% -0.007 -0.0975)
OKLCHoklch(25.87% 0.098 265.9)
XYZxyz(2.1527, 1.6231, 8.1808)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E52 #52410D
analogous
#0D4052 #0D1E52 #1E0D52
triadic
#0D1E52 #520D1E #1E520D
tetradic
#0D1E52 #520D40 #52410D #0D521E
square
#0D1E52 #520D40 #52410D #0D521E
split-complementary
#0D1E52 #521E0D #40520D
monochromatic
#040A1A #050B1D #0D1E52 #153187 #1E45BC

Accessibility & contrast

On white

15.85
#0D1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1E52
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E52#FFFFFF#000000##FFFFFF
##0D1E521.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1e52;
/* rgb */ color: rgb(13, 30, 82);
/* oklch */ color: oklch(25.9% 0.098 265.9);
Tailwind
colors: {
  custom: {
    50: '#595983',
    500: '#0d1e52',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e52;
$custom-light: #595983;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e52",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 225.217,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25871,
    "c": 0.09773,
    "h": 265.9
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#0D1E52
secondary
#8D752E
accent
#C238EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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