#1E1786#1E1786

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

Color values

HEX#1E1786
RGBrgb(30, 23, 134)
HSLhsl(244, 71%, 31%)
HSVhsv(244, 83%, 53%)
CMYKcmyk(77.6%, 82.8%, 0%, 47.5%)
CIE-LABlab(18.41, 40.82, -59.41)
CIE-LCHlch(18.41, 72.08, 304.49°)
OKLaboklab(31.46% 0.0092 -0.1719)
OKLCHoklch(31.46% 0.172 273.1)
XYZxyz(5.1435, 2.6095, 22.7822)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1786 #7F8617
analogous
#174786 #1E1786 #551786
triadic
#1E1786 #861E17 #17861E
tetradic
#1E1786 #861747 #7F8617 #178655
square
#1E1786 #861747 #7F8617 #178655
split-complementary
#1E1786 #865517 #478617
monochromatic
#07051E #120E52 #1E1786 #2A20BA #443ADD

Accessibility & contrast

On white

13.80
#1E1786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1786
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1786#FFFFFF#000000##FFFFFF
##1E17861.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1786;
/* rgb */ color: rgb(30, 23, 134);
/* oklch */ color: oklch(31.5% 0.172 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e57ab',
    500: '#1e1786',
    950: '#000000',
  },
}
SCSS
$custom: #1e1786;
$custom-light: #6e57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1786",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 243.784,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31455,
    "c": 0.17214,
    "h": 273.1
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#1E1786
secondary
#B2BA3F
accent
#ED3AE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1786

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

Preview Lab → · Contrast checker → · Palette generator →

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