#1E1880#1E1880

#1E1880 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.164 H 273.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1E1880
RGBrgb(30, 24, 128)
HSLhsl(243, 68%, 30%)
HSVhsv(243, 81%, 50%)
CMYKcmyk(76.6%, 81.3%, 0%, 49.8%)
CIE-LABlab(17.86, 38.31, -56.52)
CIE-LCHlch(17.86, 68.28, 304.13°)
OKLaboklab(30.86% 0.0103 -0.1635)
OKLCHoklch(30.86% 0.164 273.6)
XYZxyz(4.7570, 2.4873, 20.6473)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1880 #7A8018
analogous
#184680 #1E1880 #521880
triadic
#1E1880 #801E18 #18801E
tetradic
#1E1880 #801846 #7A8018 #188052
square
#1E1880 #801846 #7A8018 #188052
split-complementary
#1E1880 #805218 #468018
monochromatic
#06051A #120E4C #1E1880 #2A22B4 #4239DA

Accessibility & contrast

On white

14.02
#1E1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1880
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1880#FFFFFF#000000##FFFFFF
##1E18801.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1880;
/* rgb */ color: rgb(30, 24, 128);
/* oklch */ color: oklch(30.9% 0.164 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c57a6',
    500: '#1e1880',
    950: '#000000',
  },
}
SCSS
$custom: #1e1880;
$custom-light: #6c57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1880",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 243.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30863,
    "c": 0.16385,
    "h": 273.6
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#1E1880
secondary
#AEB440
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E1880

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

Preview Lab → · Contrast checker → · Palette generator →

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