#1D3986#1D3986

#1D3986 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.134 H 265.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#1D3986
RGBrgb(29, 57, 134)
HSLhsl(224, 64%, 32%)
HSVhsv(224, 78%, 53%)
CMYKcmyk(78.4%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.47, 18.98, -46.17)
CIE-LCHlch(26.47, 49.92, 292.35°)
OKLaboklab(37.3% -0.0111 -0.1332)
OKLCHoklch(37.3% 0.134 265.2)
XYZxyz(6.2714, 4.9080, 23.1665)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3986 #866A1D
analogous
#1D6E86 #1D3986 #361D86
triadic
#1D3986 #861D39 #39861D
tetradic
#1D3986 #861D6E #866A1D #1D8636
square
#1D3986 #861D6E #866A1D #1D8636
split-complementary
#1D3986 #86361D #6E861D
monochromatic
#070E21 #122454 #1D3986 #284EB8 #466DD7

Accessibility & contrast

On white

10.60
#1D3986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D3986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3986
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3986#FFFFFF#000000##FFFFFF
##1D39861.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3986;
/* rgb */ color: rgb(29, 57, 134);
/* oklch */ color: oklch(37.3% 0.134 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a6eaa',
    500: '#1d3986',
    950: '#000000',
  },
}
SCSS
$custom: #1d3986;
$custom-light: #6a6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3986",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 224,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.13363,
    "h": 265.2
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#1D3986
secondary
#B99A46
accent
#BB40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3986

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

Preview Lab → · Contrast checker → · Palette generator →

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