#0D1E51#0D1E51

#0D1E51 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.096 H 265.8°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#0D1E51
RGBrgb(13, 30, 81)
HSLhsl(225, 72%, 18%)
HSVhsv(225, 84%, 32%)
CMYKcmyk(84%, 63%, 0%, 68.2%)
CIE-LABlab(13.28, 14.43, -33.22)
CIE-LCHlch(13.28, 36.22, 293.48°)
OKLaboklab(25.77% -0.007 -0.0959)
OKLCHoklch(25.77% 0.096 265.8)
XYZxyz(2.1149, 1.6080, 7.9819)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E51 #51400D
analogous
#0D4051 #0D1E51 #1E0D51
triadic
#0D1E51 #510D1E #1E510D
tetradic
#0D1E51 #510D40 #51400D #0D511E
square
#0D1E51 #510D40 #51400D #0D511E
split-complementary
#0D1E51 #511E0D #40510D
monochromatic
#040A1A #050A1C #0D1E51 #153286 #1E45BA

Accessibility & contrast

On white

15.89
#0D1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1E51
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E51#FFFFFF#000000##FFFFFF
##0D1E511.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1e51;
/* rgb */ color: rgb(13, 30, 81);
/* oklch */ color: oklch(25.8% 0.096 265.8);
Tailwind
colors: {
  custom: {
    50: '#585982',
    500: '#0d1e51',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e51;
$custom-light: #585982;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e51",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 225,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.09617,
    "h": 265.8
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#0D1E51
secondary
#8C742E
accent
#C139EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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