#1E1789#1E1789

#1E1789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.176 H 272.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1E1789
RGBrgb(30, 23, 137)
HSLhsl(244, 71%, 31%)
HSVhsv(244, 83%, 54%)
CMYKcmyk(78.1%, 83.2%, 0%, 46.3%)
CIE-LABlab(18.78, 41.79, -60.69)
CIE-LCHlch(18.78, 73.68, 304.55°)
OKLaboklab(31.82% 0.0084 -0.1756)
OKLCHoklch(31.82% 0.176 272.7)
XYZxyz(5.3557, 2.6944, 23.8999)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1789 #828917
analogous
#174989 #1E1789 #571789
triadic
#1E1789 #891E17 #17891E
tetradic
#1E1789 #891749 #828917 #178957
square
#1E1789 #891749 #828917 #178957
split-complementary
#1E1789 #895717 #498917
monochromatic
#070520 #130E55 #1E1789 #2920BD #463CDE

Accessibility & contrast

On white

13.65
#1E1789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1789
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1789#FFFFFF#000000##FFFFFF
##1E17891.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1789;
/* rgb */ color: rgb(30, 23, 137);
/* oklch */ color: oklch(31.8% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e58ad',
    500: '#1e1789',
    950: '#000000',
  },
}
SCSS
$custom: #1e1789;
$custom-light: #6e58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1789",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 243.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.17578,
    "h": 272.7
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#1E1789
secondary
#B5BD3F
accent
#EE3AE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1789

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

Preview Lab → · Contrast checker → · Palette generator →

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