#0D1A52#0D1A52

#0D1A52 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.103 H 267.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#0D1A52
RGBrgb(13, 26, 82)
HSLhsl(229, 73%, 19%)
HSVhsv(229, 84%, 32%)
CMYKcmyk(84.1%, 68.3%, 0%, 67.8%)
CIE-LABlab(12.18, 17.90, -35.70)
CIE-LCHlch(12.18, 39.94, 296.63°)
OKLaboklab(24.98% -0.004 -0.1032)
OKLCHoklch(24.98% 0.103 267.8)
XYZxyz(2.0578, 1.4333, 8.1492)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A52 #52450D
analogous
#0D3C52 #0D1A52 #220D52
triadic
#0D1A52 #520D1A #1A520D
tetradic
#0D1A52 #520D3C #52450D #0D5222
square
#0D1A52 #520D3C #52450D #0D5222
split-complementary
#0D1A52 #52220D #3C520D
monochromatic
#04081A #05091D #0D1A52 #152B87 #1E3BBC

Accessibility & contrast

On white

16.32
#0D1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A52
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A52#FFFFFF#000000##FFFFFF
##0D1A521.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1a52;
/* rgb */ color: rgb(13, 26, 82);
/* oklch */ color: oklch(25.0% 0.103 267.8);
Tailwind
colors: {
  custom: {
    50: '#595683',
    500: '#0d1a52',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a52;
$custom-light: #595683;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a52",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 228.696,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24984,
    "c": 0.10333,
    "h": 267.8
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#0D1A52
secondary
#8D7B2E
accent
#CD38EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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