#0D1E4D#0D1E4D

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

Color values

HEX#0D1E4D
RGBrgb(13, 30, 77)
HSLhsl(224, 71%, 18%)
HSVhsv(224, 83%, 30%)
CMYKcmyk(83.1%, 61%, 0%, 69.8%)
CIE-LABlab(12.92, 12.67, -31.07)
CIE-LCHlch(12.92, 33.55, 292.19°)
OKLaboklab(25.39% -0.0073 -0.0896)
OKLCHoklch(25.39% 0.09 265.4)
XYZxyz(1.9693, 1.5497, 7.2151)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E4D #4D3C0D
analogous
#0D3E4D #0D1E4D #1C0D4D
triadic
#0D1E4D #4D0D1E #1E4D0D
tetradic
#0D1E4D #4D0D3E #4D3C0D #0D4D1C
square
#0D1E4D #4D0D3E #4D3C0D #0D4D1C
split-complementary
#0D1E4D #4D1C0D #3E4D0D
monochromatic
#040A1A #040A1A #0D1E4D #163281 #1F47B6

Accessibility & contrast

On white

16.03
#0D1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1E4D
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E4D#FFFFFF#000000##FFFFFF
##0D1E4D1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1e4d;
/* rgb */ color: rgb(13, 30, 77);
/* oklch */ color: oklch(25.4% 0.090 265.4);
Tailwind
colors: {
  custom: {
    50: '#57597f',
    500: '#0d1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e4d;
$custom-light: #57597f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e4d",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 224.063,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25393,
    "c": 0.08988,
    "h": 265.4
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#0D1E4D
secondary
#88702E
accent
#BE3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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