#1E1989#1E1989

#1E1989 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.174 H 272.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1E1989
RGBrgb(30, 25, 137)
HSLhsl(243, 69%, 32%)
HSVhsv(243, 82%, 54%)
CMYKcmyk(78.1%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.13, 40.77, -60.10)
CIE-LCHlch(19.13, 72.63, 304.15°)
OKLaboklab(32.06% 0.0078 -0.1739)
OKLCHoklch(32.06% 0.174 272.6)
XYZxyz(5.3969, 2.7768, 23.9136)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1989 #848919
analogous
#194C89 #1E1989 #561989
triadic
#1E1989 #891E19 #19891E
tetradic
#1E1989 #89194C #848919 #198956
square
#1E1989 #89194C #848919 #198956
split-complementary
#1E1989 #895619 #4C8919
monochromatic
#070621 #131055 #1E1989 #2922BD #4740DC

Accessibility & contrast

On white

13.50
#1E1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1989
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1989#FFFFFF#000000##FFFFFF
##1E19891.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1989;
/* rgb */ color: rgb(30, 25, 137);
/* oklch */ color: oklch(32.1% 0.174 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e59ad',
    500: '#1e1989',
    950: '#000000',
  },
}
SCSS
$custom: #1e1989;
$custom-light: #6e59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1989",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 242.679,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.1741,
    "h": 272.6
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#1E1989
secondary
#B7BC41
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1989

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

Preview Lab → · Contrast checker → · Palette generator →

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