#1E1B89#1E1B89

#1E1B89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.172 H 272.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1E1B89
RGBrgb(30, 27, 137)
HSLhsl(242, 67%, 32%)
HSVhsv(242, 80%, 54%)
CMYKcmyk(78.1%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.50, 39.70, -59.49)
CIE-LCHlch(19.50, 71.52, 303.72°)
OKLaboklab(32.32% 0.0071 -0.1722)
OKLCHoklch(32.32% 0.172 272.3)
XYZxyz(5.4412, 2.8654, 23.9284)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B89 #86891B
analogous
#1B4F89 #1E1B89 #551B89
triadic
#1E1B89 #891E1B #1B891E
tetradic
#1E1B89 #891B4F #86891B #1B8955
square
#1E1B89 #891B4F #86891B #1B8955
split-complementary
#1E1B89 #89551B #4F891B
monochromatic
#080723 #131156 #1E1B89 #2925BC #4844DA

Accessibility & contrast

On white

13.35
#1E1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B89
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B89#FFFFFF#000000##FFFFFF
##1E1B891.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1b89;
/* rgb */ color: rgb(30, 27, 137);
/* oklch */ color: oklch(32.3% 0.172 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e5aad',
    500: '#1e1b89',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b89;
$custom-light: #6e5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b89",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 241.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.17232,
    "h": 272.3
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#1E1B89
secondary
#B8BC44
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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