#1E1577#1E1577

#1E1577 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.155 H 275.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1577
RGBrgb(30, 21, 119)
HSLhsl(246, 70%, 27%)
HSVhsv(246, 82%, 47%)
CMYKcmyk(74.8%, 82.4%, 0%, 53.3%)
CIE-LABlab(16.23, 36.91, -53.48)
CIE-LCHlch(16.23, 64.98, 304.61°)
OKLaboklab(29.4% 0.0139 -0.1546)
OKLCHoklch(29.4% 0.155 275.2)
XYZxyz(4.1323, 2.1439, 17.6452)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1577 #6E7715
analogous
#153D77 #1E1577 #4F1577
triadic
#1E1577 #771E15 #15771E
tetradic
#1E1577 #77153D #6E7715 #15774F
square
#1E1577 #77153D #6E7715 #15774F
split-complementary
#1E1577 #774F15 #3D7715
monochromatic
#07051A #110C43 #1E1577 #2B1EAB #3C2DDA

Accessibility & contrast

On white

14.70
#1E1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1577
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1577#FFFFFF#000000##FFFFFF
##1E15771.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1577;
/* rgb */ color: rgb(30, 21, 119);
/* oklch */ color: oklch(29.4% 0.155 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a559f',
    500: '#1e1577',
    950: '#000000',
  },
}
SCSS
$custom: #1e1577;
$custom-light: #6a559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1577",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 245.51,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29405,
    "c": 0.15527,
    "h": 275.2
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#1E1577
secondary
#A2AD3B
accent
#ED3BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #1E1577

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

Preview Lab → · Contrast checker → · Palette generator →

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