#1E1B9E#1E1B9E

#1E1B9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.198 H 270.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1E1B9E
RGBrgb(30, 27, 158)
HSLhsl(241, 71%, 36%)
HSVhsv(241, 83%, 62%)
CMYKcmyk(81%, 82.9%, 0%, 38%)
CIE-LABlab(22.04, 46.56, -68.27)
CIE-LCHlch(22.04, 82.64, 304.29°)
OKLaboklab(34.83% 0.0023 -0.1976)
OKLCHoklch(34.83% 0.198 270.7)
XYZxyz(7.0968, 3.5277, 32.6480)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B9E #9B9E1B
analogous
#1B5A9E #1E1B9E #601B9E
triadic
#1E1B9E #9E1E1B #1B9E1E
tetradic
#1E1B9E #9E1B5A #9B9E1B #1B9E60
square
#1E1B9E #9E1B5A #9B9E1B #1B9E60
split-complementary
#1E1B9E #9E601B #5A9E1B
monochromatic
#0A0935 #14126A #1E1B9E #2824D2 #5552E1

Accessibility & contrast

On white

12.31
#1E1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E1B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B9E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B9E#FFFFFF#000000##FFFFFF
##1E1B9E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e1b9e;
/* rgb */ color: rgb(30, 27, 158);
/* oklch */ color: oklch(34.8% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#745bbc',
    500: '#1e1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b9e;
$custom-light: #745bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b9e",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 241.374,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.19763,
    "h": 270.7
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1E1B9E
secondary
#C2C451
accent
#EE3AE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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