#1D409B#1D409B

#1D409B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.154 H 264.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1D409B
RGBrgb(29, 64, 155)
HSLhsl(223, 68%, 36%)
HSVhsv(223, 81%, 61%)
CMYKcmyk(81.3%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.14, 22.54, -53.12)
CIE-LCHlch(30.14, 57.70, 292.99°)
OKLaboklab(40.6% -0.0149 -0.1535)
OKLCHoklch(40.6% 0.154 264.5)
XYZxyz(8.2544, 6.2936, 31.7837)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D409B #9B781D
analogous
#1D7F9B #1D409B #391D9B
triadic
#1D409B #9B1D40 #409B1D
tetradic
#1D409B #9B1D7F #9B781D #1D9B39
square
#1D409B #9B1D7F #9B781D #1D9B39
split-complementary
#1D409B #9B391D #7F9B1D
monochromatic
#0A1534 #132B67 #1D409B #2755CF #537ADF

Accessibility & contrast

On white

9.30
#1D409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D409B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D409B#FFFFFF#000000##FFFFFF
##1D409B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d409b;
/* rgb */ color: rgb(29, 64, 155);
/* oklch */ color: oklch(40.6% 0.154 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f74b9',
    500: '#1d409b',
    950: '#000000',
  },
}
SCSS
$custom: #1d409b;
$custom-light: #6f74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d409b",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 223.333,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.406,
    "c": 0.15418,
    "h": 264.5
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#1D409B
secondary
#C2A352
accent
#BB3CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D409B

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

Preview Lab → · Contrast checker → · Palette generator →

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