#1D4387#1D4387

#1D4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.122 H 261.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1D4387
RGBrgb(29, 67, 135)
HSLhsl(218, 65%, 32%)
HSVhsv(218, 79%, 53%)
CMYKcmyk(78.5%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.47, 12.43, -41.93)
CIE-LCHlch(29.47, 43.74, 286.51°)
OKLaboklab(39.61% -0.0191 -0.1205)
OKLCHoklch(39.61% 0.122 261)
XYZxyz(6.8854, 6.0240, 23.7168)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4387 #87611D
analogous
#1D7887 #1D4387 #2C1D87
triadic
#1D4387 #871D43 #43871D
tetradic
#1D4387 #871D78 #87611D #1D872C
square
#1D4387 #871D78 #87611D #1D872C
split-complementary
#1D4387 #872C1D #78871D
monochromatic
#071122 #122A55 #1D4387 #285CB9 #477BD7

Accessibility & contrast

On white

9.52
#1D4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4387
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4387#FFFFFF#000000##FFFFFF
##1D43871.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4387;
/* rgb */ color: rgb(29, 67, 135);
/* oklch */ color: oklch(39.6% 0.122 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a76aa',
    500: '#1d4387',
    950: '#000000',
  },
}
SCSS
$custom: #1d4387;
$custom-light: #6a76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4387",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 218.491,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.12203,
    "h": 261
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#1D4387
secondary
#B99046
accent
#AC40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4387

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

Preview Lab → · Contrast checker → · Palette generator →

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