#1E1E87#1E1E87

#1E1E87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.167 H 272.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1E1E87
RGBrgb(30, 30, 135)
HSLhsl(240, 64%, 32%)
HSVhsv(240, 78%, 53%)
CMYKcmyk(77.8%, 77.8%, 0%, 47.1%)
CIE-LABlab(19.86, 37.32, -57.64)
CIE-LCHlch(19.86, 68.67, 302.92°)
OKLaboklab(32.51% 0.0063 -0.1668)
OKLCHoklch(32.51% 0.167 272.2)
XYZxyz(5.3714, 2.9533, 23.2039)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E87 #87871E
analogous
#1E5387 #1E1E87 #531E87
triadic
#1E1E87 #871E1E #1E871E
tetradic
#1E1E87 #871E53 #87871E #1E8753
square
#1E1E87 #871E53 #87871E #1E8753
split-complementary
#1E1E87 #87531E #53871E
monochromatic
#080823 #131355 #1E1E87 #2929B9 #4949D7

Accessibility & contrast

On white

13.20
#1E1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E87
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E87#FFFFFF#000000##FFFFFF
##1E1E871.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1e87;
/* rgb */ color: rgb(30, 30, 135);
/* oklch */ color: oklch(32.5% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d5bab',
    500: '#1e1e87',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e87;
$custom-light: #6d5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e87",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.16697,
    "h": 272.2
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#1E1E87
secondary
#B9B948
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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