#1E1686#1E1686

#1E1686 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.173 H 273.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1E1686
RGBrgb(30, 22, 134)
HSLhsl(244, 72%, 31%)
HSVhsv(244, 84%, 53%)
CMYKcmyk(77.6%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.23, 41.32, -59.70)
CIE-LCHlch(18.23, 72.60, 304.69°)
OKLaboklab(31.34% 0.0095 -0.1727)
OKLCHoklch(31.34% 0.173 273.2)
XYZxyz(5.1240, 2.5705, 22.7758)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1686 #7E8616
analogous
#164686 #1E1686 #561686
triadic
#1E1686 #861E16 #16861E
tetradic
#1E1686 #861646 #7E8616 #168656
square
#1E1686 #861646 #7E8616 #168656
split-complementary
#1E1686 #865616 #468616
monochromatic
#06051D #120D51 #1E1686 #2A1FBB #4438DE

Accessibility & contrast

On white

13.87
#1E1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1686
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1686#FFFFFF#000000##FFFFFF
##1E16861.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1686;
/* rgb */ color: rgb(30, 22, 134);
/* oklch */ color: oklch(31.3% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#6e57ab',
    500: '#1e1686',
    950: '#000000',
  },
}
SCSS
$custom: #1e1686;
$custom-light: #6e57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1686",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 244.286,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31335,
    "c": 0.17296,
    "h": 273.2
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#1E1686
secondary
#B1BA3E
accent
#EF39E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1686

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

Preview Lab → · Contrast checker → · Palette generator →

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