#0D1D4E#0D1D4E

#0D1D4E is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.093 H 266.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#0D1D4E
RGBrgb(13, 29, 78)
HSLhsl(225, 71%, 18%)
HSVhsv(225, 83%, 31%)
CMYKcmyk(83.3%, 62.8%, 0%, 69.4%)
CIE-LABlab(12.70, 13.88, -32.12)
CIE-LCHlch(12.70, 34.99, 293.37°)
OKLaboklab(25.25% -0.0064 -0.0927)
OKLCHoklch(25.25% 0.093 266.1)
XYZxyz(1.9800, 1.5141, 7.3942)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D4E #4E3E0D
analogous
#0D3D4E #0D1D4E #1D0D4E
triadic
#0D1D4E #4E0D1D #1D4E0D
tetradic
#0D1D4E #4E0D3D #4E3E0D #0D4E1D
square
#0D1D4E #4E0D3D #4E3E0D #0D4E1D
split-complementary
#0D1D4E #4E1D0D #3D4E0D
monochromatic
#040A1A #040A1A #0D1D4E #163182 #1E44B7

Accessibility & contrast

On white

16.12
#0D1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0D1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D4E
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D4E#FFFFFF#000000##FFFFFF
##0D1D4E1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1d4e;
/* rgb */ color: rgb(13, 29, 78);
/* oklch */ color: oklch(25.3% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#575880',
    500: '#0d1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d4e;
$custom-light: #575880;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d4e",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 225.231,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25253,
    "c": 0.0929,
    "h": 266.1
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#0D1D4E
secondary
#89732E
accent
#C23AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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