#1E1A88#1E1A88

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

Color values

HEX#1E1A88
RGBrgb(30, 26, 136)
HSLhsl(242, 68%, 32%)
HSVhsv(242, 81%, 53%)
CMYKcmyk(77.9%, 80.9%, 0%, 46.7%)
CIE-LABlab(19.19, 39.91, -59.37)
CIE-LCHlch(19.19, 71.54, 303.91°)
OKLaboklab(32.07% 0.0077 -0.1718)
OKLCHoklch(32.07% 0.172 272.6)
XYZxyz(5.3473, 2.7918, 23.5448)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A88 #84881A
analogous
#1A4D88 #1E1A88 #551A88
triadic
#1E1A88 #881E1A #1A881E
tetradic
#1E1A88 #881A4D #84881A #1A8855
square
#1E1A88 #881A4D #84881A #1A8855
split-complementary
#1E1A88 #88551A #4D881A
monochromatic
#070621 #131055 #1E1A88 #2924BB #4742DB

Accessibility & contrast

On white

13.48
#1E1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1A88
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A88#FFFFFF#000000##FFFFFF
##1E1A881.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1a88;
/* rgb */ color: rgb(30, 26, 136);
/* oklch */ color: oklch(32.1% 0.172 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e59ac',
    500: '#1e1a88',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a88;
$custom-light: #6e59ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a88",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 242.182,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.17199,
    "h": 272.6
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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