#1D3686#1D3686

#1D3686 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.138 H 266.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1D3686
RGBrgb(29, 54, 134)
HSLhsl(226, 64%, 32%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(78.4%, 59.7%, 0%, 47.5%)
CIE-LABlab(25.62, 21.07, -47.55)
CIE-LCHlch(25.62, 52.01, 293.90°)
OKLaboklab(36.67% -0.0088 -0.1373)
OKLCHoklch(36.67% 0.138 266.3)
XYZxyz(6.1274, 4.6201, 23.1185)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3686 #866D1D
analogous
#1D6B86 #1D3686 #381D86
triadic
#1D3686 #861D36 #36861D
tetradic
#1D3686 #861D6B #866D1D #1D8638
square
#1D3686 #861D6B #866D1D #1D8638
split-complementary
#1D3686 #86381D #6B861D
monochromatic
#070D21 #122254 #1D3686 #284AB8 #4669D7

Accessibility & contrast

On white

10.91
#1D3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3686
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3686#FFFFFF#000000##FFFFFF
##1D36861.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3686;
/* rgb */ color: rgb(29, 54, 134);
/* oklch */ color: oklch(36.7% 0.138 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6caa',
    500: '#1d3686',
    950: '#000000',
  },
}
SCSS
$custom: #1d3686;
$custom-light: #6a6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3686",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 225.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36668,
    "c": 0.13755,
    "h": 266.3
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#1D3686
secondary
#B99D46
accent
#C040E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3686

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

Preview Lab → · Contrast checker → · Palette generator →

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