#1D419F#1D419F

#1D419F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.158 H 264.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#1D419F
RGBrgb(29, 65, 159)
HSLhsl(223, 69%, 37%)
HSVhsv(223, 82%, 62%)
CMYKcmyk(81.8%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.75, 23.44, -54.56)
CIE-LCHlch(30.75, 59.38, 293.25°)
OKLaboklab(41.16% -0.0153 -0.1577)
OKLCHoklch(41.16% 0.158 264.4)
XYZxyz(8.6528, 6.5440, 33.6012)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D419F #9F7B1D
analogous
#1D829F #1D419F #3A1D9F
triadic
#1D419F #9F1D41 #419F1D
tetradic
#1D419F #9F1D82 #9F7B1D #1D9F3A
square
#1D419F #9F1D82 #9F7B1D #1D9F3A
split-complementary
#1D419F #9F3A1D #829F1D
monochromatic
#0A1737 #142C6B #1D419F #2656D3 #567CE0

Accessibility & contrast

On white

9.09
#1D419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1D419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D419F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D419F#FFFFFF#000000##FFFFFF
##1D419F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d419f;
/* rgb */ color: rgb(29, 65, 159);
/* oklch */ color: oklch(41.2% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#7075bc',
    500: '#1d419f',
    950: '#000000',
  },
}
SCSS
$custom: #1d419f;
$custom-light: #7075bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d419f",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 223.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.15841,
    "h": 264.4
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#1D419F
secondary
#C4A554
accent
#BB3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D419F

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

Preview Lab → · Contrast checker → · Palette generator →

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