#1D3286#1D3286

#1D3286 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.143 H 267.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1D3286
RGBrgb(29, 50, 134)
HSLhsl(228, 64%, 32%)
HSVhsv(228, 78%, 53%)
CMYKcmyk(78.4%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.52, 23.85, -49.35)
CIE-LCHlch(24.52, 54.81, 295.80°)
OKLaboklab(35.85% -0.0059 -0.1426)
OKLCHoklch(35.85% 0.143 267.6)
XYZxyz(5.9489, 4.2630, 23.0589)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3286 #86711D
analogous
#1D6786 #1D3286 #3D1D86
triadic
#1D3286 #861D32 #32861D
tetradic
#1D3286 #861D67 #86711D #1D863D
square
#1D3286 #861D67 #86711D #1D863D
split-complementary
#1D3286 #863D1D #67861D
monochromatic
#070C21 #121F54 #1D3286 #2845B8 #4663D7

Accessibility & contrast

On white

11.33
#1D3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3286
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3286#FFFFFF#000000##FFFFFF
##1D32861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3286;
/* rgb */ color: rgb(29, 50, 134);
/* oklch */ color: oklch(35.8% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b69aa',
    500: '#1d3286',
    950: '#000000',
  },
}
SCSS
$custom: #1d3286;
$custom-light: #6b69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3286",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 228,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.14272,
    "h": 267.6
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#1D3286
secondary
#B9A246
accent
#C640E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3286

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

Preview Lab → · Contrast checker → · Palette generator →

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