#1E1A97#1E1A97

#1E1A97 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.190 H 271.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1E1A97
RGBrgb(30, 26, 151)
HSLhsl(242, 71%, 35%)
HSVhsv(242, 83%, 59%)
CMYKcmyk(80.1%, 82.8%, 0%, 40.8%)
CIE-LABlab(21.01, 44.82, -65.68)
CIE-LCHlch(21.01, 79.52, 304.31°)
OKLaboklab(33.87% 0.0042 -0.1901)
OKLCHoklch(33.87% 0.19 271.3)
XYZxyz(6.4888, 3.2484, 29.5572)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A97 #93971A
analogous
#1A5597 #1E1A97 #5D1A97
triadic
#1E1A97 #971E1A #1A971E
tetradic
#1E1A97 #971A55 #93971A #1A975D
square
#1E1A97 #971A55 #93971A #1A975D
split-complementary
#1E1A97 #975D1A #55971A
monochromatic
#09082F #141163 #1E1A97 #2823CB #504BE0

Accessibility & contrast

On white

12.73
#1E1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E1A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A97
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A97#FFFFFF#000000##FFFFFF
##1E1A971.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002C95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1a97;
/* rgb */ color: rgb(30, 26, 151);
/* oklch */ color: oklch(33.9% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#725ab7',
    500: '#1e1a97',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a97;
$custom-light: #725ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a97",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 241.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.19016,
    "h": 271.3
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1E1A97
secondary
#BEC24B
accent
#ED3AE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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