#1E1589#1E1589

#1E1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.177 H 272.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#1E1589
RGBrgb(30, 21, 137)
HSLhsl(245, 73%, 31%)
HSVhsv(245, 85%, 54%)
CMYKcmyk(78.1%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.44, 42.77, -61.24)
CIE-LCHlch(18.44, 74.69, 304.93°)
OKLaboklab(31.59% 0.009 -0.1771)
OKLCHoklch(31.59% 0.177 272.9)
XYZxyz(5.3174, 2.6179, 23.8871)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1589 #808915
analogous
#154689 #1E1589 #581589
triadic
#1E1589 #891E15 #15891E
tetradic
#1E1589 #891546 #808915 #158958
square
#1E1589 #891546 #808915 #158958
split-complementary
#1E1589 #895815 #468915
monochromatic
#07051F #120D54 #1E1589 #2A1DBE #4538E0

Accessibility & contrast

On white

13.78
#1E1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1589
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1589#FFFFFF#000000##FFFFFF
##1E15891.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1589;
/* rgb */ color: rgb(30, 21, 137);
/* oklch */ color: oklch(31.6% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f57ad',
    500: '#1e1589',
    950: '#000000',
  },
}
SCSS
$custom: #1e1589;
$custom-light: #6f57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1589",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 244.655,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31588,
    "c": 0.17737,
    "h": 272.9
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#1E1589
secondary
#B3BD3D
accent
#F038E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1589

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

Preview Lab → · Contrast checker → · Palette generator →

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