#1E1489#1E1489

#1E1489 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.178 H 273.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1E1489
RGBrgb(30, 20, 137)
HSLhsl(245, 75%, 31%)
HSVhsv(245, 85%, 54%)
CMYKcmyk(78.1%, 85.4%, 0%, 46.3%)
CIE-LABlab(18.29, 43.23, -61.50)
CIE-LCHlch(18.29, 75.18, 305.11°)
OKLaboklab(31.48% 0.0093 -0.1779)
OKLCHoklch(31.48% 0.178 273)
XYZxyz(5.2994, 2.5819, 23.8811)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1489 #7F8914
analogous
#144489 #1E1489 #581489
triadic
#1E1489 #891E14 #14891E
tetradic
#1E1489 #891444 #7F8914 #148958
square
#1E1489 #891444 #7F8914 #148958
split-complementary
#1E1489 #895814 #448914
monochromatic
#07041E #120C54 #1E1489 #2A1CBE #4436E2

Accessibility & contrast

On white

13.85
#1E1489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1489
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1489#FFFFFF#000000##FFFFFF
##1E14891.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1489;
/* rgb */ color: rgb(30, 20, 137);
/* oklch */ color: oklch(31.5% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f56ad',
    500: '#1e1489',
    950: '#000000',
  },
}
SCSS
$custom: #1e1489;
$custom-light: #6f56ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1489",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 245.128,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.17812,
    "h": 273
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#1E1489
secondary
#B2BD3C
accent
#F137E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1489

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

Preview Lab → · Contrast checker → · Palette generator →

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