#0D1D4D#0D1D4D

#0D1D4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.091 H 266.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#0D1D4D
RGBrgb(13, 29, 77)
HSLhsl(225, 71%, 18%)
HSVhsv(225, 83%, 30%)
CMYKcmyk(83.1%, 62.3%, 0%, 69.8%)
CIE-LABlab(12.61, 13.44, -31.58)
CIE-LCHlch(12.61, 34.32, 293.05°)
OKLaboklab(25.16% -0.0064 -0.0911)
OKLCHoklch(25.16% 0.091 266)
XYZxyz(1.9444, 1.4999, 7.2068)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D4D #4D3D0D
analogous
#0D3D4D #0D1D4D #1D0D4D
triadic
#0D1D4D #4D0D1D #1D4D0D
tetradic
#0D1D4D #4D0D3D #4D3D0D #0D4D1D
square
#0D1D4D #4D0D3D #4D3D0D #0D4D1D
split-complementary
#0D1D4D #4D1D0D #3D4D0D
monochromatic
#040A1A #040A1A #0D1D4D #163181 #1F44B6

Accessibility & contrast

On white

16.15
#0D1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1D4D
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D4D#FFFFFF#000000##FFFFFF
##0D1D4D1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1d4d;
/* rgb */ color: rgb(13, 29, 77);
/* oklch */ color: oklch(25.2% 0.091 266.0);
Tailwind
colors: {
  custom: {
    50: '#57587f',
    500: '#0d1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d4d;
$custom-light: #57587f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d4d",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 225,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25157,
    "c": 0.09133,
    "h": 266
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#0D1D4D
secondary
#88722E
accent
#C13AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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