#1E1C87#1E1C87

#1E1C87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.169 H 272.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1E1C87
RGBrgb(30, 28, 135)
HSLhsl(241, 66%, 32%)
HSVhsv(241, 79%, 53%)
CMYKcmyk(77.8%, 79.3%, 0%, 47.1%)
CIE-LABlab(19.45, 38.47, -58.31)
CIE-LCHlch(19.45, 69.85, 303.42°)
OKLaboklab(32.22% 0.0071 -0.1687)
OKLCHoklch(32.22% 0.169 272.4)
XYZxyz(5.3224, 2.8552, 23.1876)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C87 #85871C
analogous
#1C5087 #1E1C87 #531C87
triadic
#1E1C87 #871E1C #1C871E
tetradic
#1E1C87 #871C50 #85871C #1C8753
square
#1E1C87 #871C50 #85871C #1C8753
split-complementary
#1E1C87 #87531C #50871C
monochromatic
#070722 #131154 #1E1C87 #2927BA #4845D8

Accessibility & contrast

On white

13.37
#1E1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1C87
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C87#FFFFFF#000000##FFFFFF
##1E1C871.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1c87;
/* rgb */ color: rgb(30, 28, 135);
/* oklch */ color: oklch(32.2% 0.169 272.4);
Tailwind
colors: {
  custom: {
    50: '#6d5aab',
    500: '#1e1c87',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c87;
$custom-light: #6d5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c87",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 241.121,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.1689,
    "h": 272.4
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#1E1C87
secondary
#B8BA45
accent
#E93FE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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