#1E1D87#1E1D87

#1E1D87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.168 H 272.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1E1D87
RGBrgb(30, 29, 135)
HSLhsl(241, 65%, 32%)
HSVhsv(241, 79%, 53%)
CMYKcmyk(77.8%, 78.5%, 0%, 47.1%)
CIE-LABlab(19.65, 37.90, -57.98)
CIE-LCHlch(19.65, 69.27, 303.17°)
OKLaboklab(32.36% 0.0067 -0.1678)
OKLCHoklch(32.36% 0.168 272.3)
XYZxyz(5.3465, 2.9034, 23.1956)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D87 #86871D
analogous
#1D5187 #1E1D87 #531D87
triadic
#1E1D87 #871E1D #1D871E
tetradic
#1E1D87 #871D51 #86871D #1D8753
square
#1E1D87 #871D51 #86871D #1D8753
split-complementary
#1E1D87 #87531D #51871D
monochromatic
#080722 #131255 #1E1D87 #2928B9 #4847D7

Accessibility & contrast

On white

13.28
#1E1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1D87
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D87#FFFFFF#000000##FFFFFF
##1E1D871.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1d87;
/* rgb */ color: rgb(30, 29, 135);
/* oklch */ color: oklch(32.4% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d5bab',
    500: '#1e1d87',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d87;
$custom-light: #6d5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d87",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 240.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.16794,
    "h": 272.3
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#1E1D87
secondary
#B8B946
accent
#E840E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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