#0D1E4C#0D1E4C

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

Color values

HEX#0D1E4C
RGBrgb(13, 30, 76)
HSLhsl(224, 71%, 17%)
HSVhsv(224, 83%, 30%)
CMYKcmyk(82.9%, 60.5%, 0%, 70.2%)
CIE-LABlab(12.83, 12.23, -30.52)
CIE-LCHlch(12.83, 32.88, 291.83°)
OKLaboklab(25.3% -0.0074 -0.088)
OKLCHoklch(25.3% 0.088 265.2)
XYZxyz(1.9343, 1.5357, 7.0306)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E4C #4C3B0D
analogous
#0D3D4C #0D1E4C #1C0D4C
triadic
#0D1E4C #4C0D1E #1E4C0D
tetradic
#0D1E4C #4C0D3D #4C3B0D #0D4C1C
square
#0D1E4C #4C0D3D #4C3B0D #0D4C1C
split-complementary
#0D1E4C #4C1C0D #3D4C0D
monochromatic
#040A1A #040A1A #0D1E4C #163380 #1F47B5

Accessibility & contrast

On white

16.06
#0D1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1E4C
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E4C#FFFFFF#000000##FFFFFF
##0D1E4C1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.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: #0d1e4c;
/* rgb */ color: rgb(13, 30, 76);
/* oklch */ color: oklch(25.3% 0.088 265.2);
Tailwind
colors: {
  custom: {
    50: '#57597e',
    500: '#0d1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e4c;
$custom-light: #57597e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e4c",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 223.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25299,
    "c": 0.08829,
    "h": 265.2
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#0D1E4C
secondary
#876F2E
accent
#BD3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0D1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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