#1D419D#1D419D

#1D419D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.156 H 264.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1D419D
RGBrgb(29, 65, 157)
HSLhsl(223, 69%, 36%)
HSVhsv(223, 82%, 62%)
CMYKcmyk(81.5%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.58, 22.65, -53.62)
CIE-LCHlch(30.58, 58.20, 292.90°)
OKLaboklab(40.98% -0.0154 -0.1549)
OKLCHoklch(40.98% 0.156 264.3)
XYZxyz(8.4806, 6.4751, 32.6946)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D419D #9D791D
analogous
#1D819D #1D419D #391D9D
triadic
#1D419D #9D1D41 #419D1D
tetradic
#1D419D #9D1D81 #9D791D #1D9D39
square
#1D419D #9D1D81 #9D791D #1D9D39
split-complementary
#1D419D #9D391D #819D1D
monochromatic
#0A1636 #132C69 #1D419D #2756D1 #557CE0

Accessibility & contrast

On white

9.15
#1D419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D419D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D419D#FFFFFF#000000##FFFFFF
##1D419D1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d419d;
/* rgb */ color: rgb(29, 65, 157);
/* oklch */ color: oklch(41.0% 0.156 264.3);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#1d419d',
    950: '#000000',
  },
}
SCSS
$custom: #1d419d;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d419d",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 223.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.15568,
    "h": 264.3
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#1D419D
secondary
#C3A353
accent
#BA3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D419D

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

Preview Lab → · Contrast checker → · Palette generator →

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