#1E159E#1E159E

#1E159E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.2% C 0.202 H 271.0°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1E159E
RGBrgb(30, 21, 158)
HSLhsl(244, 77%, 35%)
HSVhsv(244, 87%, 62%)
CMYKcmyk(81%, 86.7%, 0%, 38%)
CIE-LABlab(21.13, 49.26, -69.78)
CIE-LCHlch(21.13, 85.42, 305.22°)
OKLaboklab(34.21% 0.0035 -0.2019)
OKLCHoklch(34.21% 0.202 271)
XYZxyz(6.9731, 3.2802, 32.6068)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E159E #959E15
analogous
#15509E #1E159E #63159E
triadic
#1E159E #9E1E15 #159E1E
tetradic
#1E159E #9E1550 #959E15 #159E63
square
#1E159E #9E1550 #959E15 #159E63
split-complementary
#1E159E #9E6315 #509E15
monochromatic
#090732 #140E68 #1E159E #281CD4 #5147E7

Accessibility & contrast

On white

12.68
#1E159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E159E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E159E#FFFFFF#000000##FFFFFF
##1E159E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e159e;
/* rgb */ color: rgb(30, 21, 158);
/* oklch */ color: oklch(34.2% 0.202 271.0);
Tailwind
colors: {
  custom: {
    50: '#7458bc',
    500: '#1e159e',
    950: '#000000',
  },
}
SCSS
$custom: #1e159e;
$custom-light: #7458bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e159e",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 243.942,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.2019,
    "h": 271
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#1E159E
secondary
#BFC747
accent
#F335E7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E159E

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

Preview Lab → · Contrast checker → · Palette generator →

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