#1D1C86#1D1C86

#1D1C86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.168 H 272.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1D1C86
RGBrgb(29, 28, 134)
HSLhsl(241, 65%, 32%)
HSVhsv(241, 79%, 53%)
CMYKcmyk(78.4%, 79.1%, 0%, 47.5%)
CIE-LABlab(19.28, 38.05, -57.97)
CIE-LCHlch(19.28, 69.34, 303.28°)
OKLaboklab(32.05% 0.0061 -0.1678)
OKLCHoklch(32.05% 0.168 272.1)
XYZxyz(5.2236, 2.8124, 22.8172)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C86 #85861C
analogous
#1C5086 #1D1C86 #521C86
triadic
#1D1C86 #861D1C #1C861D
tetradic
#1D1C86 #861C50 #85861C #1C8652
square
#1D1C86 #861C50 #85861C #1C8652
split-complementary
#1D1C86 #86521C #50861C
monochromatic
#070721 #121153 #1D1C86 #2827B9 #4644D8

Accessibility & contrast

On white

13.44
#1D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C86
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C86#FFFFFF#000000##FFFFFF
##1D1C861.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1c86;
/* rgb */ color: rgb(29, 28, 134);
/* oklch */ color: oklch(32.0% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1d1c86',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c86;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c86",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 240.566,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.16792,
    "h": 272.1
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#1D1C86
secondary
#B8B945
accent
#E83FE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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