#1D1E84#1D1E84

#1D1E84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.163 H 272.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1D1E84
RGBrgb(29, 30, 132)
HSLhsl(239, 64%, 32%)
HSVhsv(239, 78%, 52%)
CMYKcmyk(78%, 77.3%, 0%, 48.2%)
CIE-LABlab(19.45, 36.19, -56.42)
CIE-LCHlch(19.45, 67.03, 302.68°)
OKLaboklab(32.1% 0.0057 -0.1633)
OKLCHoklch(32.1% 0.163 272)
XYZxyz(5.1344, 2.8552, 22.1058)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E84 #84831D
analogous
#1D5284 #1D1E84 #501D84
triadic
#1D1E84 #841D1E #1E841D
tetradic
#1D1E84 #841D52 #84831D #1D8450
square
#1D1E84 #841D52 #84831D #1D8450
split-complementary
#1D1E84 #84501D #52841D
monochromatic
#070720 #121352 #1D1E84 #2829B6 #4547D6

Accessibility & contrast

On white

13.37
#1D1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E84
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E84#FFFFFF#000000##FFFFFF
##1D1E841.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1e84;
/* rgb */ color: rgb(29, 30, 132);
/* oklch */ color: oklch(32.1% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c5ba9',
    500: '#1d1e84',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e84;
$custom-light: #6c5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e84",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 239.417,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32104,
    "c": 0.16342,
    "h": 272
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#1D1E84
secondary
#B7B646
accent
#E541E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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