#1E1A87#1E1A87

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

Color values

HEX#1E1A87
RGBrgb(30, 26, 135)
HSLhsl(242, 68%, 32%)
HSVhsv(242, 81%, 53%)
CMYKcmyk(77.8%, 80.7%, 0%, 47.1%)
CIE-LABlab(19.07, 39.57, -58.94)
CIE-LCHlch(19.07, 70.99, 303.88°)
OKLaboklab(31.95% 0.0079 -0.1706)
OKLCHoklch(31.95% 0.171 272.6)
XYZxyz(5.2765, 2.7635, 23.1723)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A87 #83871A
analogous
#1A4D87 #1E1A87 #551A87
triadic
#1E1A87 #871E1A #1A871E
tetradic
#1E1A87 #871A4D #83871A #1A8755
square
#1E1A87 #871A4D #83871A #1A8755
split-complementary
#1E1A87 #87551A #4D871A
monochromatic
#070620 #131054 #1E1A87 #2924BA #4741DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E1A87#FFFFFF#000000##FFFFFF
##1E1A871.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)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1a87;
/* rgb */ color: rgb(30, 26, 135);
/* oklch */ color: oklch(32.0% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e59ab',
    500: '#1e1a87',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a87;
$custom-light: #6e59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a87",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 242.202,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31953,
    "c": 0.17075,
    "h": 272.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#1E1A87
secondary
#B6BA42
accent
#EB3DE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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