#1D4686#1D4686

#1D4686 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.117 H 259.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#1D4686
RGBrgb(29, 70, 134)
HSLhsl(217, 64%, 32%)
HSVhsv(217, 78%, 53%)
CMYKcmyk(78.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.31, 9.96, -39.97)
CIE-LCHlch(30.31, 41.19, 284.00°)
OKLaboklab(40.23% -0.0219 -0.1147)
OKLCHoklch(40.23% 0.117 259.2)
XYZxyz(6.9984, 6.3620, 23.4088)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4686 #865D1D
analogous
#1D7B86 #1D4686 #281D86
triadic
#1D4686 #861D46 #46861D
tetradic
#1D4686 #861D7B #865D1D #1D8628
square
#1D4686 #861D7B #865D1D #1D8628
split-complementary
#1D4686 #86281D #7B861D
monochromatic
#071121 #122C54 #1D4686 #2860B8 #467FD7

Accessibility & contrast

On white

9.24
#1D4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4686
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4686#FFFFFF#000000##FFFFFF
##1D46861.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#094385
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4686;
/* rgb */ color: rgb(29, 70, 134);
/* oklch */ color: oklch(40.2% 0.117 259.2);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1d4686',
    950: '#000000',
  },
}
SCSS
$custom: #1d4686;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4686",
  "rgb": {
    "r": 29,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 216.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.11676,
    "h": 259.2
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#1D4686
secondary
#B98C46
accent
#A640E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4686

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

Preview Lab → · Contrast checker → · Palette generator →

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