#1E1687#1E1687

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

Color values

HEX#1E1687
RGBrgb(30, 22, 135)
HSLhsl(244, 72%, 31%)
HSVhsv(244, 84%, 53%)
CMYKcmyk(77.8%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.36, 41.64, -60.12)
CIE-LCHlch(18.36, 73.13, 304.71°)
OKLaboklab(31.46% 0.0093 -0.1739)
OKLCHoklch(31.46% 0.174 273.1)
XYZxyz(5.1940, 2.5986, 23.1448)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1687 #7F8716
analogous
#164687 #1E1687 #561687
triadic
#1E1687 #871E16 #16871E
tetradic
#1E1687 #871646 #7F8716 #168756
square
#1E1687 #871646 #7F8716 #168756
split-complementary
#1E1687 #875616 #468716
monochromatic
#07051E #120D52 #1E1687 #2A1FBC #4439DF

Accessibility & contrast

On white

13.82
#1E1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1687
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1687#FFFFFF#000000##FFFFFF
##1E16871.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1687;
/* rgb */ color: rgb(30, 22, 135);
/* oklch */ color: oklch(31.5% 0.174 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e57ab',
    500: '#1e1687',
    950: '#000000',
  },
}
SCSS
$custom: #1e1687;
$custom-light: #6e57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1687",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 244.248,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31457,
    "c": 0.17418,
    "h": 273.1
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#1E1687
secondary
#B2BB3E
accent
#EF39E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1687

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

Preview Lab → · Contrast checker → · Palette generator →

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