#1E1E96#1E1E96

#1E1E96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.186 H 271.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1E1E96
RGBrgb(30, 30, 150)
HSLhsl(240, 67%, 35%)
HSVhsv(240, 80%, 59%)
CMYKcmyk(80%, 80%, 0%, 41.2%)
CIE-LABlab(21.60, 42.43, -64.09)
CIE-LCHlch(21.60, 76.86, 303.50°)
OKLaboklab(34.24% 0.0032 -0.1856)
OKLCHoklch(34.24% 0.186 271)
XYZxyz(6.5029, 3.4058, 29.1629)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E96 #96961E
analogous
#1E5A96 #1E1E96 #5A1E96
triadic
#1E1E96 #961E1E #1E961E
tetradic
#1E1E96 #961E5A #96961E #1E965A
square
#1E1E96 #961E5A #96961E #1E965A
split-complementary
#1E1E96 #965A1E #5A961E
monochromatic
#0A0A30 #141463 #1E1E96 #2828C9 #5252DC

Accessibility & contrast

On white

12.49
#1E1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E96
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E96#FFFFFF#000000##FFFFFF
##1E1E961.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1e96;
/* rgb */ color: rgb(30, 30, 150);
/* oklch */ color: oklch(34.2% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#715cb6',
    500: '#1e1e96',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e96;
$custom-light: #715cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e96",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.18559,
    "h": 271
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#1E1E96
secondary
#BFBF50
accent
#EA3EEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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