#1D3E86#1D3E86

#1D3E86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.127 H 263.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1D3E86
RGBrgb(29, 62, 134)
HSLhsl(221, 64%, 32%)
HSVhsv(221, 78%, 53%)
CMYKcmyk(78.4%, 53.7%, 0%, 47.5%)
CIE-LABlab(27.92, 15.49, -43.83)
CIE-LCHlch(27.92, 46.48, 289.47°)
OKLaboklab(38.4% -0.0151 -0.1262)
OKLCHoklch(38.4% 0.127 263.2)
XYZxyz(6.5309, 5.4270, 23.2529)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E86 #86651D
analogous
#1D7386 #1D3E86 #311D86
triadic
#1D3E86 #861D3E #3E861D
tetradic
#1D3E86 #861D73 #86651D #1D8631
square
#1D3E86 #861D73 #86651D #1D8631
split-complementary
#1D3E86 #86311D #73861D
monochromatic
#070F21 #122754 #1D3E86 #2855B8 #4674D7

Accessibility & contrast

On white

10.07
#1D3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D3E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E86
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E86#FFFFFF#000000##FFFFFF
##1D3E861.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3e86;
/* rgb */ color: rgb(29, 62, 134);
/* oklch */ color: oklch(38.4% 0.127 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a72aa',
    500: '#1d3e86',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e86;
$custom-light: #6a72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e86",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 221.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.12708,
    "h": 263.2
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#1D3E86
secondary
#B99546
accent
#B340E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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