#1D1D86#1D1D86

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

Color values

HEX#1D1D86
RGBrgb(29, 29, 134)
HSLhsl(240, 64%, 32%)
HSVhsv(240, 78%, 53%)
CMYKcmyk(78.4%, 78.4%, 0%, 47.5%)
CIE-LABlab(19.48, 37.47, -57.64)
CIE-LCHlch(19.48, 68.75, 303.03°)
OKLaboklab(32.19% 0.0057 -0.1669)
OKLCHoklch(32.19% 0.167 272)
XYZxyz(5.2477, 2.8606, 22.8252)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D86 #86861D
analogous
#1D5286 #1D1D86 #521D86
triadic
#1D1D86 #861D1D #1D861D
tetradic
#1D1D86 #861D52 #86861D #1D8652
square
#1D1D86 #861D52 #86861D #1D8652
split-complementary
#1D1D86 #86521D #52861D
monochromatic
#070721 #121254 #1D1D86 #2828B8 #4646D7

Accessibility & contrast

On white

13.36
#1D1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1D86
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D86#FFFFFF#000000##FFFFFF
##1D1D861.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1d86;
/* rgb */ color: rgb(29, 29, 134);
/* oklch */ color: oklch(32.2% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d5baa',
    500: '#1d1d86',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d86;
$custom-light: #6d5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d86",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.16696,
    "h": 272
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#1D1D86
secondary
#B9B946
accent
#E740E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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