#1E1B94#1E1B94

#1E1B94 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.186 H 271.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E1B94
RGBrgb(30, 27, 148)
HSLhsl(241, 69%, 34%)
HSVhsv(241, 82%, 58%)
CMYKcmyk(79.7%, 81.8%, 0%, 42%)
CIE-LABlab(20.82, 43.34, -64.15)
CIE-LCHlch(20.82, 77.42, 304.04°)
OKLaboklab(33.63% 0.0046 -0.1857)
OKLCHoklch(33.63% 0.186 271.4)
XYZxyz(6.2708, 3.1973, 28.2979)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B94 #91941B
analogous
#1B5494 #1E1B94 #5B1B94
triadic
#1E1B94 #941E1B #1B941E
tetradic
#1E1B94 #941B54 #91941B #1B945B
square
#1E1B94 #941B54 #91941B #1B945B
split-complementary
#1E1B94 #945B1B #54941B
monochromatic
#09082C #141260 #1E1B94 #2824C8 #4F4BDE

Accessibility & contrast

On white

12.81
#1E1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B94
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B94#FFFFFF#000000##FFFFFF
##1E1B941.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1b94;
/* rgb */ color: rgb(30, 27, 148);
/* oklch */ color: oklch(33.6% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#715bb5',
    500: '#1e1b94',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b94;
$custom-light: #715bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b94",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 241.488,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33627,
    "c": 0.18576,
    "h": 271.4
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1E1B94
secondary
#BDC04B
accent
#EC3CE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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