#1D4486#1D4486

#1D4486 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.119 H 260.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1D4486
RGBrgb(29, 68, 134)
HSLhsl(218, 64%, 32%)
HSVhsv(218, 78%, 53%)
CMYKcmyk(78.4%, 49.3%, 0%, 47.5%)
CIE-LABlab(29.70, 11.34, -40.94)
CIE-LCHlch(29.70, 42.48, 285.47°)
OKLaboklab(39.76% -0.0202 -0.1176)
OKLCHoklch(39.76% 0.119 260.3)
XYZxyz(6.8753, 6.1159, 23.3678)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4486 #865F1D
analogous
#1D7986 #1D4486 #2A1D86
triadic
#1D4486 #861D44 #44861D
tetradic
#1D4486 #861D79 #865F1D #1D862A
square
#1D4486 #861D79 #865F1D #1D862A
split-complementary
#1D4486 #862A1D #79861D
monochromatic
#071121 #122A54 #1D4486 #285EB8 #467CD7

Accessibility & contrast

On white

9.44
#1D4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4486
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4486#FFFFFF#000000##FFFFFF
##1D44861.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4486;
/* rgb */ color: rgb(29, 68, 134);
/* oklch */ color: oklch(39.8% 0.119 260.3);
Tailwind
colors: {
  custom: {
    50: '#6977aa',
    500: '#1d4486',
    950: '#000000',
  },
}
SCSS
$custom: #1d4486;
$custom-light: #6977aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4486",
  "rgb": {
    "r": 29,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 217.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.1193,
    "h": 260.3
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4486

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

Preview Lab → · Contrast checker → · Palette generator →

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