#1E1B85#1E1B85

#1E1B85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.167 H 272.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1E1B85
RGBrgb(30, 27, 133)
HSLhsl(242, 66%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(77.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(19.03, 38.35, -57.76)
CIE-LCHlch(19.03, 69.33, 303.58°)
OKLaboklab(31.85% 0.008 -0.1671)
OKLCHoklch(31.85% 0.167 272.7)
XYZxyz(5.1596, 2.7528, 22.4452)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B85 #82851B
analogous
#1B4D85 #1E1B85 #531B85
triadic
#1E1B85 #851E1B #1B851E
tetradic
#1E1B85 #851B4D #82851B #1B8553
square
#1E1B85 #851B4D #82851B #1B8553
split-complementary
#1E1B85 #85531B #4D851B
monochromatic
#07061F #131152 #1E1B85 #2925B8 #4642D9

Accessibility & contrast

On white

13.54
#1E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B85
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B85#FFFFFF#000000##FFFFFF
##1E1B851.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1b85;
/* rgb */ color: rgb(30, 27, 133);
/* oklch */ color: oklch(31.9% 0.167 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1e1b85',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b85;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b85",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 241.698,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.16734,
    "h": 272.7
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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