#0D1D51#0D1D51

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

Color values

HEX#0D1D51
RGBrgb(13, 29, 81)
HSLhsl(226, 72%, 18%)
HSVhsv(226, 84%, 32%)
CMYKcmyk(84%, 64.2%, 0%, 68.2%)
CIE-LABlab(12.97, 15.20, -33.72)
CIE-LCHlch(12.97, 36.99, 294.26°)
OKLaboklab(25.55% -0.0062 -0.0974)
OKLCHoklch(25.55% 0.098 266.3)
XYZxyz(2.0900, 1.5581, 7.9736)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D51 #51410D
analogous
#0D3F51 #0D1D51 #1F0D51
triadic
#0D1D51 #510D1D #1D510D
tetradic
#0D1D51 #510D3F #51410D #0D511F
square
#0D1D51 #510D3F #51410D #0D511F
split-complementary
#0D1D51 #511F0D #3F510D
monochromatic
#04091A #050A1C #0D1D51 #153086 #1E43BA

Accessibility & contrast

On white

16.01
#0D1D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1D51
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D51#FFFFFF#000000##FFFFFF
##0D1D511.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1d51;
/* rgb */ color: rgb(13, 29, 81);
/* oklch */ color: oklch(25.5% 0.098 266.3);
Tailwind
colors: {
  custom: {
    50: '#585882',
    500: '#0d1d51',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d51;
$custom-light: #585882;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d51",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 225.882,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25546,
    "c": 0.09759,
    "h": 266.3
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#0D1D51
secondary
#8C762E
accent
#C439EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D51

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

Preview Lab → · Contrast checker → · Palette generator →

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