#1E1B91#1E1B91

#1E1B91 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.182 H 271.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E1B91
RGBrgb(30, 27, 145)
HSLhsl(242, 69%, 34%)
HSVhsv(242, 81%, 57%)
CMYKcmyk(79.3%, 81.4%, 0%, 43.1%)
CIE-LABlab(20.45, 42.36, -62.90)
CIE-LCHlch(20.45, 75.83, 303.96°)
OKLaboklab(33.27% 0.0053 -0.1821)
OKLCHoklch(33.27% 0.182 271.7)
XYZxyz(6.0365, 3.1036, 27.0635)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B91 #8E911B
analogous
#1B5391 #1E1B91 #591B91
triadic
#1E1B91 #911E1B #1B911E
tetradic
#1E1B91 #911B53 #8E911B #1B9159
square
#1E1B91 #911B53 #8E911B #1B9159
split-complementary
#1E1B91 #91591B #53911B
monochromatic
#09082A #13115D #1E1B91 #2925C5 #4D49DD

Accessibility & contrast

On white

12.96
#1E1B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E1B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B91
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B91#FFFFFF#000000##FFFFFF
##1E1B911.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002B8F
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1b91;
/* rgb */ color: rgb(30, 27, 145);
/* oklch */ color: oklch(33.3% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#705ab3',
    500: '#1e1b91',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b91;
$custom-light: #705ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b91",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 241.525,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.18214,
    "h": 271.7
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#1E1B91
secondary
#BCBF49
accent
#EB3CE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1B91

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

Preview Lab → · Contrast checker → · Palette generator →

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