#1E1C86#1E1C86

#1E1C86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.168 H 272.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#1E1C86
RGBrgb(30, 28, 134)
HSLhsl(241, 65%, 32%)
HSVhsv(241, 79%, 53%)
CMYKcmyk(77.6%, 79.1%, 0%, 47.5%)
CIE-LABlab(19.34, 38.13, -57.87)
CIE-LCHlch(19.34, 69.30, 303.38°)
OKLaboklab(32.11% 0.0073 -0.1675)
OKLCHoklch(32.11% 0.168 272.5)
XYZxyz(5.2523, 2.8272, 22.8185)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C86 #84861C
analogous
#1C4F86 #1E1C86 #531C86
triadic
#1E1C86 #861E1C #1C861E
tetradic
#1E1C86 #861C4F #84861C #1C8653
square
#1E1C86 #861C4F #84861C #1C8653
split-complementary
#1E1C86 #86531C #4F861C
monochromatic
#070721 #131153 #1E1C86 #2927B9 #4744D8

Accessibility & contrast

On white

13.41
#1E1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C86
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C86#FFFFFF#000000##FFFFFF
##1E1C861.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1c86;
/* rgb */ color: rgb(30, 28, 134);
/* oklch */ color: oklch(32.1% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1e1c86',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c86;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c86",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 241.132,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32106,
    "c": 0.16764,
    "h": 272.5
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#1E1C86
secondary
#B7B945
accent
#E83FE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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