#1D409E#1D409E

#1D409E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 264.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#1D409E
RGBrgb(29, 64, 158)
HSLhsl(224, 69%, 37%)
HSVhsv(224, 82%, 62%)
CMYKcmyk(81.6%, 59.5%, 0%, 38%)
CIE-LABlab(30.39, 23.72, -54.53)
CIE-LCHlch(30.39, 59.47, 293.51°)
OKLaboklab(40.86% -0.0147 -0.1576)
OKLCHoklch(40.86% 0.158 264.7)
XYZxyz(8.5095, 6.3956, 33.1271)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D409E #9E7B1D
analogous
#1D819E #1D409E #3B1D9E
triadic
#1D409E #9E1D40 #409E1D
tetradic
#1D409E #9E1D81 #9E7B1D #1D9E3B
square
#1D409E #9E1D81 #9E7B1D #1D9E3B
split-complementary
#1D409E #9E3B1D #819E1D
monochromatic
#0A1637 #142B6A #1D409E #2655D2 #567BE0

Accessibility & contrast

On white

9.21
#1D409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D409E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D409E#FFFFFF#000000##FFFFFF
##1D409E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d409e;
/* rgb */ color: rgb(29, 64, 158);
/* oklch */ color: oklch(40.9% 0.158 264.7);
Tailwind
colors: {
  custom: {
    50: '#7074bb',
    500: '#1d409e',
    950: '#000000',
  },
}
SCSS
$custom: #1d409e;
$custom-light: #7074bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d409e",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 223.721,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.15831,
    "h": 264.7
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#1D409E
secondary
#C3A554
accent
#BC3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D409E

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

Preview Lab → · Contrast checker → · Palette generator →

#1D409E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva