#1E1AA1#1E1AA1

#1E1AA1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.1% C 0.202 H 270.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1E1AA1
RGBrgb(30, 26, 161)
HSLhsl(242, 72%, 37%)
HSVhsv(242, 84%, 63%)
CMYKcmyk(81.4%, 83.9%, 0%, 36.9%)
CIE-LABlab(22.26, 47.98, -69.75)
CIE-LCHlch(22.26, 84.66, 304.52°)
OKLaboklab(35.09% 0.0018 -0.2019)
OKLCHoklch(35.09% 0.202 270.5)
XYZxyz(7.3357, 3.5872, 34.0171)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1AA1 #9DA11A
analogous
#1A5AA1 #1E1AA1 #621AA1
triadic
#1E1AA1 #A11E1A #1AA11E
tetradic
#1E1AA1 #A11A5A #9DA11A #1AA162
square
#1E1AA1 #A11A5A #9DA11A #1AA162
split-complementary
#1E1AA1 #A1621A #5AA11A
monochromatic
#0A0938 #14116C #1E1AA1 #2823D6 #5752E3

Accessibility & contrast

On white

12.23
#1E1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1AA1
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1AA1#FFFFFF#000000##FFFFFF
##1E1AA11.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e1aa1;
/* rgb */ color: rgb(30, 26, 161);
/* oklch */ color: oklch(35.1% 0.202 270.5);
Tailwind
colors: {
  custom: {
    50: '#745bbe',
    500: '#1e1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1e1aa1;
$custom-light: #745bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1aa1",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 241.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.20188,
    "h": 270.5
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#1E1AA1
secondary
#C2C651
accent
#EF39EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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