#1D3886#1D3886

#1D3886 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.135 H 265.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1D3886
RGBrgb(29, 56, 134)
HSLhsl(225, 64%, 32%)
HSVhsv(225, 78%, 53%)
CMYKcmyk(78.4%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.19, 19.68, -46.63)
CIE-LCHlch(26.19, 50.62, 292.88°)
OKLaboklab(37.09% -0.0103 -0.1345)
OKLCHoklch(37.09% 0.135 265.6)
XYZxyz(6.2224, 4.8101, 23.1501)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3886 #866B1D
analogous
#1D6D86 #1D3886 #361D86
triadic
#1D3886 #861D38 #38861D
tetradic
#1D3886 #861D6D #866B1D #1D8636
square
#1D3886 #861D6D #866B1D #1D8636
split-complementary
#1D3886 #86361D #6D861D
monochromatic
#070E21 #122354 #1D3886 #284DB8 #466CD7

Accessibility & contrast

On white

10.70
#1D3886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D3886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3886
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3886#FFFFFF#000000##FFFFFF
##1D38861.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3886;
/* rgb */ color: rgb(29, 56, 134);
/* oklch */ color: oklch(37.1% 0.135 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a6eaa',
    500: '#1d3886',
    950: '#000000',
  },
}
SCSS
$custom: #1d3886;
$custom-light: #6a6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3886",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 224.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.13494,
    "h": 265.6
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#1D3886
secondary
#B99B46
accent
#BC40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3886

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

Preview Lab → · Contrast checker → · Palette generator →

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