#0D1D52#0D1D52

#0D1D52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.099 H 266.4°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#0D1D52
RGBrgb(13, 29, 82)
HSLhsl(226, 73%, 19%)
HSVhsv(226, 84%, 32%)
CMYKcmyk(84.1%, 64.6%, 0%, 67.8%)
CIE-LABlab(13.07, 15.63, -34.25)
CIE-LCHlch(13.07, 37.65, 294.53°)
OKLaboklab(25.64% -0.0062 -0.0989)
OKLCHoklch(25.64% 0.099 266.4)
XYZxyz(2.1278, 1.5733, 8.1725)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D52 #52420D
analogous
#0D3F52 #0D1D52 #1F0D52
triadic
#0D1D52 #520D1D #1D520D
tetradic
#0D1D52 #520D3F #52420D #0D521F
square
#0D1D52 #520D3F #52420D #0D521F
split-complementary
#0D1D52 #521F0D #3F520D
monochromatic
#04091A #050A1D #0D1D52 #153087 #1E42BC

Accessibility & contrast

On white

15.97
#0D1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D52
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D52#FFFFFF#000000##FFFFFF
##0D1D521.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1d52;
/* rgb */ color: rgb(13, 29, 82);
/* oklch */ color: oklch(25.6% 0.099 266.4);
Tailwind
colors: {
  custom: {
    50: '#595883',
    500: '#0d1d52',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d52;
$custom-light: #595883;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d52",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 226.087,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25644,
    "c": 0.09914,
    "h": 266.4
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#0D1D52
secondary
#8D772E
accent
#C538EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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