#1D3586#1D3586

#1D3586 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.139 H 266.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1D3586
RGBrgb(29, 53, 134)
HSLhsl(226, 64%, 32%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(78.4%, 60.4%, 0%, 47.5%)
CIE-LABlab(25.35, 21.77, -48.00)
CIE-LCHlch(25.35, 52.71, 294.39°)
OKLaboklab(36.46% -0.0081 -0.1386)
OKLCHoklch(36.46% 0.139 266.7)
XYZxyz(6.0814, 4.5280, 23.1031)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3586 #866E1D
analogous
#1D6A86 #1D3586 #3A1D86
triadic
#1D3586 #861D35 #35861D
tetradic
#1D3586 #861D6A #866E1D #1D863A
square
#1D3586 #861D6A #866E1D #1D863A
split-complementary
#1D3586 #863A1D #6A861D
monochromatic
#070D21 #122154 #1D3586 #2849B8 #4667D7

Accessibility & contrast

On white

11.02
#1D3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3586
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3586#FFFFFF#000000##FFFFFF
##1D35861.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3586;
/* rgb */ color: rgb(29, 53, 134);
/* oklch */ color: oklch(36.5% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a6baa',
    500: '#1d3586',
    950: '#000000',
  },
}
SCSS
$custom: #1d3586;
$custom-light: #6a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3586",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 226.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.13885,
    "h": 266.7
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#1D3586
secondary
#B99F46
accent
#C140E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3586

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

Preview Lab → · Contrast checker → · Palette generator →

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