#1D4591#1D4591

#1D4591 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.134 H 261.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1D4591
RGBrgb(29, 69, 145)
HSLhsl(219, 67%, 34%)
HSVhsv(219, 80%, 57%)
CMYKcmyk(80%, 52.4%, 0%, 43.1%)
CIE-LABlab(30.79, 15.10, -45.97)
CIE-LCHlch(30.79, 48.39, 288.18°)
OKLaboklab(40.84% -0.0194 -0.1324)
OKLCHoklch(40.84% 0.134 261.7)
XYZxyz(7.7438, 6.5609, 27.6408)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4591 #91691D
analogous
#1D7F91 #1D4591 #2F1D91
triadic
#1D4591 #911D45 #45911D
tetradic
#1D4591 #911D7F #91691D #1D912F
square
#1D4591 #911D7F #91691D #1D912F
split-complementary
#1D4591 #912F1D #7F911D
monochromatic
#09142B #132D5E #1D4591 #275DC4 #4D7EDB

Accessibility & contrast

On white

9.08
#1D4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4591
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4591#FFFFFF#000000##FFFFFF
##1D45911.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4591;
/* rgb */ color: rgb(29, 69, 145);
/* oklch */ color: oklch(40.8% 0.134 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c78b2',
    500: '#1d4591',
    950: '#000000',
  },
}
SCSS
$custom: #1d4591;
$custom-light: #6c78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4591",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 219.31,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.13378,
    "h": 261.7
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#1D4591
secondary
#BE974C
accent
#AE3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4591

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

Preview Lab → · Contrast checker → · Palette generator →

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