#1E1B87#1E1B87

#1E1B87 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.170 H 272.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1E1B87
RGBrgb(30, 27, 135)
HSLhsl(242, 67%, 32%)
HSVhsv(242, 80%, 53%)
CMYKcmyk(77.8%, 80%, 0%, 47.1%)
CIE-LABlab(19.26, 39.03, -58.63)
CIE-LCHlch(19.26, 70.43, 303.65°)
OKLaboklab(32.09% 0.0075 -0.1697)
OKLCHoklch(32.09% 0.17 272.5)
XYZxyz(5.2991, 2.8086, 23.1798)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B87 #84871B
analogous
#1B4E87 #1E1B87 #541B87
triadic
#1E1B87 #871E1B #1B871E
tetradic
#1E1B87 #871B4E #84871B #1B8754
square
#1E1B87 #871B4E #84871B #1B8754
split-complementary
#1E1B87 #87541B #4E871B
monochromatic
#070721 #131154 #1E1B87 #2925BA #4743D9

Accessibility & contrast

On white

13.45
#1E1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B87
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B87#FFFFFF#000000##FFFFFF
##1E1B871.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1b87;
/* rgb */ color: rgb(30, 27, 135);
/* oklch */ color: oklch(32.1% 0.170 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e5aab',
    500: '#1e1b87',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b87;
$custom-light: #6e5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b87",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 241.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.16984,
    "h": 272.5
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#1E1B87
secondary
#B7BA44
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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