#1E1996#1E1996

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

Color values

HEX#1E1996
RGBrgb(30, 25, 150)
HSLhsl(242, 71%, 34%)
HSVhsv(242, 83%, 59%)
CMYKcmyk(80%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.72, 44.98, -65.55)
CIE-LCHlch(20.72, 79.50, 304.46°)
OKLaboklab(33.63% 0.0046 -0.1897)
OKLCHoklch(33.63% 0.19 271.4)
XYZxyz(6.3862, 3.1726, 29.1240)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1996 #919619
analogous
#195396 #1E1996 #5D1996
triadic
#1E1996 #961E19 #19961E
tetradic
#1E1996 #961953 #919619 #19965D
square
#1E1996 #961953 #919619 #19965D
split-complementary
#1E1996 #965D19 #539619
monochromatic
#09082D #141062 #1E1996 #2822CA #4F49E1

Accessibility & contrast

On white

12.85
#1E1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1996
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1996#FFFFFF#000000##FFFFFF
##1E19961.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1996;
/* rgb */ color: rgb(30, 25, 150);
/* oklch */ color: oklch(33.6% 0.190 271.4);
Tailwind
colors: {
  custom: {
    50: '#725ab6',
    500: '#1e1996',
    950: '#000000',
  },
}
SCSS
$custom: #1e1996;
$custom-light: #725ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1996",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 242.4,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.18976,
    "h": 271.4
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#1E1996
secondary
#BDC249
accent
#EE3AE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1996

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

Preview Lab → · Contrast checker → · Palette generator →

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