#0D1D4C#0D1D4C

#0D1D4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.090 H 265.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#0D1D4C
RGBrgb(13, 29, 76)
HSLhsl(225, 71%, 17%)
HSVhsv(225, 83%, 30%)
CMYKcmyk(82.9%, 61.8%, 0%, 70.2%)
CIE-LABlab(12.52, 13.00, -31.04)
CIE-LCHlch(12.52, 33.65, 292.73°)
OKLaboklab(25.06% -0.0065 -0.0895)
OKLCHoklch(25.06% 0.09 265.9)
XYZxyz(1.9094, 1.4859, 7.0223)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D4C #4C3C0D
analogous
#0D3D4C #0D1D4C #1D0D4C
triadic
#0D1D4C #4C0D1D #1D4C0D
tetradic
#0D1D4C #4C0D3D #4C3C0D #0D4C1D
square
#0D1D4C #4C0D3D #4C3C0D #0D4C1D
split-complementary
#0D1D4C #4C1D0D #3D4C0D
monochromatic
#040A1A #040A1A #0D1D4C #163180 #1F45B5

Accessibility & contrast

On white

16.19
#0D1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1D4C
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D4C#FFFFFF#000000##FFFFFF
##0D1D4C1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1d4c;
/* rgb */ color: rgb(13, 29, 76);
/* oklch */ color: oklch(25.1% 0.090 265.9);
Tailwind
colors: {
  custom: {
    50: '#57587e',
    500: '#0d1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d4c;
$custom-light: #57587e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d4c",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 224.762,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25062,
    "c": 0.08973,
    "h": 265.9
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#0D1D4C
secondary
#87702E
accent
#C03AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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