#1E1788#1E1788

#1E1788 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.175 H 272.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1788
RGBrgb(30, 23, 136)
HSLhsl(244, 71%, 31%)
HSVhsv(244, 83%, 53%)
CMYKcmyk(77.9%, 83.1%, 0%, 46.7%)
CIE-LABlab(18.65, 41.47, -60.26)
CIE-LCHlch(18.65, 73.15, 304.53°)
OKLaboklab(31.7% 0.0087 -0.1743)
OKLCHoklch(31.7% 0.175 272.9)
XYZxyz(5.2843, 2.6658, 23.5238)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1788 #818817
analogous
#174888 #1E1788 #561788
triadic
#1E1788 #881E17 #17881E
tetradic
#1E1788 #881748 #818817 #178856
square
#1E1788 #881748 #818817 #178856
split-complementary
#1E1788 #885617 #488817
monochromatic
#07051F #120E54 #1E1788 #2A20BC #463BDE

Accessibility & contrast

On white

13.70
#1E1788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1788
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1788#FFFFFF#000000##FFFFFF
##1E17881.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1788;
/* rgb */ color: rgb(30, 23, 136);
/* oklch */ color: oklch(31.7% 0.175 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e57ac',
    500: '#1e1788',
    950: '#000000',
  },
}
SCSS
$custom: #1e1788;
$custom-light: #6e57ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1788",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 243.717,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31697,
    "c": 0.17457,
    "h": 272.9
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1788

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

Preview Lab → · Contrast checker → · Palette generator →

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