#1D1B86#1D1B86

#1D1B86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.169 H 272.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1D1B86
RGBrgb(29, 27, 134)
HSLhsl(241, 66%, 32%)
HSVhsv(241, 80%, 53%)
CMYKcmyk(78.4%, 79.9%, 0%, 47.5%)
CIE-LABlab(19.08, 38.61, -58.30)
CIE-LCHlch(19.08, 69.92, 303.52°)
OKLaboklab(31.91% 0.0065 -0.1687)
OKLCHoklch(31.91% 0.169 272.2)
XYZxyz(5.2003, 2.7657, 22.8094)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B86 #84861B
analogous
#1B4F86 #1D1B86 #531B86
triadic
#1D1B86 #861D1B #1B861D
tetradic
#1D1B86 #861B4F #84861B #1B8653
square
#1D1B86 #861B4F #84861B #1B8653
split-complementary
#1D1B86 #86531B #4F861B
monochromatic
#070620 #121153 #1D1B86 #2825B9 #4542D9

Accessibility & contrast

On white

13.52
#1D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B86
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B86#FFFFFF#000000##FFFFFF
##1D1B861.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1b86;
/* rgb */ color: rgb(29, 27, 134);
/* oklch */ color: oklch(31.9% 0.169 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b86;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b86",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 241.121,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31908,
    "c": 0.16886,
    "h": 272.2
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#1D1B86
secondary
#B7B944
accent
#E93EE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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