#1E1B84#1E1B84

#1E1B84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.166 H 272.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1E1B84
RGBrgb(30, 27, 132)
HSLhsl(242, 66%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(77.3%, 79.5%, 0%, 48.2%)
CIE-LABlab(18.91, 38.01, -57.32)
CIE-LCHlch(18.91, 68.78, 303.55°)
OKLaboklab(31.74% 0.0082 -0.1659)
OKLCHoklch(31.74% 0.166 272.8)
XYZxyz(5.0908, 2.7253, 22.0831)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B84 #81841B
analogous
#1B4C84 #1E1B84 #521B84
triadic
#1E1B84 #841E1B #1B841E
tetradic
#1E1B84 #841B4C #81841B #1B8452
square
#1E1B84 #841B4C #81841B #1B8452
split-complementary
#1E1B84 #84521B #4C841B
monochromatic
#07061E #121151 #1E1B84 #2A25B7 #4641D8

Accessibility & contrast

On white

13.59
#1E1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B84
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B84#FFFFFF#000000##FFFFFF
##1E1B841.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1b84;
/* rgb */ color: rgb(30, 27, 132);
/* oklch */ color: oklch(31.7% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d59a9',
    500: '#1e1b84',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b84;
$custom-light: #6d59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b84",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 241.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.16608,
    "h": 272.8
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#1E1B84
secondary
#B4B743
accent
#E93FE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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