#1E1582#1E1582

#1E1582 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.169 H 273.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#1E1582
RGBrgb(30, 21, 130)
HSLhsl(245, 72%, 30%)
HSVhsv(245, 84%, 51%)
CMYKcmyk(76.9%, 83.8%, 0%, 49%)
CIE-LABlab(17.57, 40.52, -58.27)
CIE-LCHlch(17.57, 70.98, 304.81°)
OKLaboklab(30.73% 0.0109 -0.1685)
OKLCHoklch(30.73% 0.169 273.7)
XYZxyz(4.8315, 2.4236, 21.3279)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1582 #798215
analogous
#154382 #1E1582 #551582
triadic
#1E1582 #821E15 #15821E
tetradic
#1E1582 #821543 #798215 #158255
square
#1E1582 #821543 #798215 #158255
split-complementary
#1E1582 #825515 #438215
monochromatic
#06041A #120C4D #1E1582 #2A1EB7 #4133DE

Accessibility & contrast

On white

14.14
#1E1582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E1582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1582
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1582#FFFFFF#000000##FFFFFF
##1E15821.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003085
Deuteranopia (green-blind)
#002680
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1582;
/* rgb */ color: rgb(30, 21, 130);
/* oklch */ color: oklch(30.7% 0.169 273.7);
Tailwind
colors: {
  custom: {
    50: '#6d56a8',
    500: '#1e1582',
    950: '#000000',
  },
}
SCSS
$custom: #1e1582;
$custom-light: #6d56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1582",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 244.954,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30731,
    "c": 0.1689,
    "h": 273.7
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#1E1582
secondary
#ADB73C
accent
#EF39E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1582

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

Preview Lab → · Contrast checker → · Palette generator →

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