#1E1B88#1E1B88

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

Color values

HEX#1E1B88
RGBrgb(30, 27, 136)
HSLhsl(242, 67%, 32%)
HSVhsv(242, 80%, 53%)
CMYKcmyk(77.9%, 80.1%, 0%, 46.7%)
CIE-LABlab(19.38, 39.36, -59.06)
CIE-LCHlch(19.38, 70.98, 303.68°)
OKLaboklab(32.2% 0.0073 -0.1709)
OKLCHoklch(32.2% 0.171 272.4)
XYZxyz(5.3698, 2.8369, 23.5523)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B88 #85881B
analogous
#1B4F88 #1E1B88 #541B88
triadic
#1E1B88 #881E1B #1B881E
tetradic
#1E1B88 #881B4F #85881B #1B8854
square
#1E1B88 #881B4F #85881B #1B8854
split-complementary
#1E1B88 #88541B #4F881B
monochromatic
#070722 #131155 #1E1B88 #2925BB #4844DA

Accessibility & contrast

On white

13.40
#1E1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B88
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B88#FFFFFF#000000##FFFFFF
##1E1B881.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1b88;
/* rgb */ color: rgb(30, 27, 136);
/* oklch */ color: oklch(32.2% 0.171 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e5aac',
    500: '#1e1b88',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b88;
$custom-light: #6e5aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b88",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 241.651,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32203,
    "c": 0.17109,
    "h": 272.4
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#1E1B88
secondary
#B8BB44
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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