#1D4587#1D4587

#1D4587 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.119 H 259.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1D4587
RGBrgb(29, 69, 135)
HSLhsl(217, 65%, 32%)
HSVhsv(217, 79%, 53%)
CMYKcmyk(78.5%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.07, 11.05, -40.97)
CIE-LCHlch(30.07, 42.43, 285.10°)
OKLaboklab(40.07% -0.0209 -0.1176)
OKLCHoklch(40.07% 0.119 259.9)
XYZxyz(7.0064, 6.2659, 23.7572)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4587 #875F1D
analogous
#1D7A87 #1D4587 #2A1D87
triadic
#1D4587 #871D45 #45871D
tetradic
#1D4587 #871D7A #875F1D #1D872A
square
#1D4587 #871D7A #875F1D #1D872A
split-complementary
#1D4587 #872A1D #7A871D
monochromatic
#071222 #122B55 #1D4587 #285FB9 #477DD7

Accessibility & contrast

On white

9.32
#1D4587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D4587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4587
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4587#FFFFFF#000000##FFFFFF
##1D45871.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#024286
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4587;
/* rgb */ color: rgb(29, 69, 135);
/* oklch */ color: oklch(40.1% 0.119 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a78aa',
    500: '#1d4587',
    950: '#000000',
  },
}
SCSS
$custom: #1d4587;
$custom-light: #6a78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4587",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 217.358,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.11947,
    "h": 259.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#1D4587
secondary
#B98E46
accent
#A840E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4587

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

Preview Lab → · Contrast checker → · Palette generator →

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