#0D1E4A#0D1E4A

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

Color values

HEX#0D1E4A
RGBrgb(13, 30, 74)
HSLhsl(223, 70%, 17%)
HSVhsv(223, 82%, 29%)
CMYKcmyk(82.4%, 59.5%, 0%, 71%)
CIE-LABlab(12.66, 11.34, -29.43)
CIE-LCHlch(12.66, 31.54, 291.08°)
OKLaboklab(25.11% -0.0075 -0.0848)
OKLCHoklch(25.11% 0.085 264.9)
XYZxyz(1.8658, 1.5083, 6.6700)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E4A #4A390D
analogous
#0D3D4A #0D1E4A #1B0D4A
triadic
#0D1E4A #4A0D1E #1E4A0D
tetradic
#0D1E4A #4A0D3D #4A390D #0D4A1B
square
#0D1E4A #4A0D3D #4A390D #0D4A1B
split-complementary
#0D1E4A #4A1B0D #3D4A0D
monochromatic
#050B1A #050B1A #0D1E4A #16337E #1F48B2

Accessibility & contrast

On white

16.13
#0D1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1E4A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E4A#FFFFFF#000000##FFFFFF
##0D1E4A1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1e4a;
/* rgb */ color: rgb(13, 30, 74);
/* oklch */ color: oklch(25.1% 0.085 264.9);
Tailwind
colors: {
  custom: {
    50: '#56597d',
    500: '#0d1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e4a;
$custom-light: #56597d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e4a",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 223.279,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25114,
    "c": 0.08509,
    "h": 264.9
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#0D1E4A
secondary
#856D2E
accent
#BB3BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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