#1D4586#1D4586

#1D4586 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.118 H 259.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1D4586
RGBrgb(29, 69, 134)
HSLhsl(217, 64%, 32%)
HSVhsv(217, 78%, 53%)
CMYKcmyk(78.4%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.00, 10.65, -40.46)
CIE-LCHlch(30.00, 41.84, 284.75°)
OKLaboklab(40% -0.0211 -0.1161)
OKLCHoklch(40% 0.118 259.7)
XYZxyz(6.9363, 6.2379, 23.3881)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4586 #865E1D
analogous
#1D7A86 #1D4586 #2A1D86
triadic
#1D4586 #861D45 #45861D
tetradic
#1D4586 #861D7A #865E1D #1D862A
square
#1D4586 #861D7A #865E1D #1D862A
split-complementary
#1D4586 #862A1D #7A861D
monochromatic
#071121 #122B54 #1D4586 #285FB8 #467DD7

Accessibility & contrast

On white

9.34
#1D4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4586
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4586#FFFFFF#000000##FFFFFF
##1D45861.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4586;
/* rgb */ color: rgb(29, 69, 134);
/* oklch */ color: oklch(40.0% 0.118 259.7);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1d4586',
    950: '#000000',
  },
}
SCSS
$custom: #1d4586;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4586",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 217.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39995,
    "c": 0.11802,
    "h": 259.7
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#1D4586
secondary
#B98D46
accent
#A840E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4586

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

Preview Lab → · Contrast checker → · Palette generator →

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