#1D3486#1D3486

#1D3486 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.140 H 267.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1D3486
RGBrgb(29, 52, 134)
HSLhsl(227, 64%, 32%)
HSVhsv(227, 78%, 53%)
CMYKcmyk(78.4%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.07, 22.47, -48.45)
CIE-LCHlch(25.07, 53.41, 294.87°)
OKLaboklab(36.25% -0.0073 -0.14)
OKLCHoklch(36.25% 0.14 267)
XYZxyz(6.0363, 4.4378, 23.0881)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3486 #866F1D
analogous
#1D6986 #1D3486 #3B1D86
triadic
#1D3486 #861D34 #34861D
tetradic
#1D3486 #861D69 #866F1D #1D863B
square
#1D3486 #861D69 #866F1D #1D863B
split-complementary
#1D3486 #863B1D #69861D
monochromatic
#070D21 #122054 #1D3486 #2848B8 #4666D7

Accessibility & contrast

On white

11.13
#1D3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3486
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3486#FFFFFF#000000##FFFFFF
##1D34861.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3486;
/* rgb */ color: rgb(29, 52, 134);
/* oklch */ color: oklch(36.3% 0.140 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a6baa',
    500: '#1d3486',
    950: '#000000',
  },
}
SCSS
$custom: #1d3486;
$custom-light: #6a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3486",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 226.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36253,
    "c": 0.14015,
    "h": 267
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#1D3486
secondary
#B9A046
accent
#C340E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3486

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

Preview Lab → · Contrast checker → · Palette generator →

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