#1D3186#1D3186

#1D3186 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.144 H 267.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1D3186
RGBrgb(29, 49, 134)
HSLhsl(229, 64%, 32%)
HSVhsv(229, 78%, 53%)
CMYKcmyk(78.4%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.25, 24.54, -49.79)
CIE-LCHlch(24.25, 55.51, 296.24°)
OKLaboklab(35.65% -0.0052 -0.1439)
OKLCHoklch(35.65% 0.144 267.9)
XYZxyz(5.9066, 4.1784, 23.0449)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3186 #86721D
analogous
#1D6686 #1D3186 #3D1D86
triadic
#1D3186 #861D31 #31861D
tetradic
#1D3186 #861D66 #86721D #1D863D
square
#1D3186 #861D66 #86721D #1D863D
split-complementary
#1D3186 #863D1D #66861D
monochromatic
#070C21 #121F54 #1D3186 #2843B8 #4662D7

Accessibility & contrast

On white

11.44
#1D3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3186
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3186#FFFFFF#000000##FFFFFF
##1D31861.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3186;
/* rgb */ color: rgb(29, 49, 134);
/* oklch */ color: oklch(35.6% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b68aa',
    500: '#1d3186',
    950: '#000000',
  },
}
SCSS
$custom: #1d3186;
$custom-light: #6b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3186",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 228.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.14401,
    "h": 267.9
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#1D3186
secondary
#B9A346
accent
#C840E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3186

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

Preview Lab → · Contrast checker → · Palette generator →

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