#1D1E86#1D1E86

#1D1E86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.166 H 271.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1D1E86
RGBrgb(29, 30, 134)
HSLhsl(239, 64%, 32%)
HSVhsv(239, 78%, 53%)
CMYKcmyk(78.4%, 77.6%, 0%, 47.5%)
CIE-LABlab(19.68, 36.89, -57.30)
CIE-LCHlch(19.68, 68.15, 302.77°)
OKLaboklab(32.33% 0.0053 -0.1659)
OKLCHoklch(32.33% 0.166 271.8)
XYZxyz(5.2726, 2.9104, 22.8335)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E86 #86851D
analogous
#1D5286 #1D1E86 #511D86
triadic
#1D1E86 #861D1E #1E861D
tetradic
#1D1E86 #861D52 #86851D #1D8651
square
#1D1E86 #861D52 #86851D #1D8651
split-complementary
#1D1E86 #86511D #52861D
monochromatic
#070721 #121354 #1D1E86 #2829B8 #4648D7

Accessibility & contrast

On white

13.27
#1D1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E86
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E86#FFFFFF#000000##FFFFFF
##1D1E861.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1e86;
/* rgb */ color: rgb(29, 30, 134);
/* oklch */ color: oklch(32.3% 0.166 271.8);
Tailwind
colors: {
  custom: {
    50: '#6d5baa',
    500: '#1d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e86;
$custom-light: #6d5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e86",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 239.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32332,
    "c": 0.16596,
    "h": 271.8
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#1D1E86
secondary
#B9B846
accent
#E640E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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