#1D3587#1D3587

#1D3587 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.140 H 266.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3587
RGBrgb(29, 53, 135)
HSLhsl(226, 65%, 32%)
HSVhsv(226, 79%, 53%)
CMYKcmyk(78.5%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.43, 22.17, -48.49)
CIE-LCHlch(25.43, 53.32, 294.57°)
OKLaboklab(36.55% -0.008 -0.14)
OKLCHoklch(36.55% 0.14 266.7)
XYZxyz(6.1514, 4.5560, 23.4722)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3587 #876F1D
analogous
#1D6A87 #1D3587 #3A1D87
triadic
#1D3587 #871D35 #35871D
tetradic
#1D3587 #871D6A #876F1D #1D873A
square
#1D3587 #871D6A #876F1D #1D873A
split-complementary
#1D3587 #873A1D #6A871D
monochromatic
#070D22 #122155 #1D3587 #2849B9 #4768D7

Accessibility & contrast

On white

10.99
#1D3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3587
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3587#FFFFFF#000000##FFFFFF
##1D35871.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3587;
/* rgb */ color: rgb(29, 53, 135);
/* oklch */ color: oklch(36.5% 0.140 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b6bab',
    500: '#1d3587',
    950: '#000000',
  },
}
SCSS
$custom: #1d3587;
$custom-light: #6b6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3587",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 226.415,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.14028,
    "h": 266.7
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#1D3587
secondary
#B99F46
accent
#C240E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3587

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

Preview Lab → · Contrast checker → · Palette generator →

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