#1E1B86#1E1B86

#1E1B86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.169 H 272.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1E1B86
RGBrgb(30, 27, 134)
HSLhsl(242, 66%, 32%)
HSVhsv(242, 80%, 53%)
CMYKcmyk(77.6%, 79.9%, 0%, 47.5%)
CIE-LABlab(19.14, 38.69, -58.19)
CIE-LCHlch(19.14, 69.88, 303.62°)
OKLaboklab(31.97% 0.0077 -0.1684)
OKLCHoklch(31.97% 0.169 272.6)
XYZxyz(5.2290, 2.7806, 22.8108)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B86 #83861B
analogous
#1B4E86 #1E1B86 #541B86
triadic
#1E1B86 #861E1B #1B861E
tetradic
#1E1B86 #861B4E #83861B #1B8654
square
#1E1B86 #861B4E #83861B #1B8654
split-complementary
#1E1B86 #86541B #4E861B
monochromatic
#070620 #131153 #1E1B86 #2925B9 #4742D9

Accessibility & contrast

On white

13.49
#1E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B86
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B86#FFFFFF#000000##FFFFFF
##1E1B861.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1b86;
/* rgb */ color: rgb(30, 27, 134);
/* oklch */ color: oklch(32.0% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1e1b86',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b86;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b86",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 241.682,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31969,
    "c": 0.16859,
    "h": 272.6
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#1E1B86
secondary
#B6B944
accent
#E93EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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