#1E1B95#1E1B95

#1E1B95 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.187 H 271.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1E1B95
RGBrgb(30, 27, 149)
HSLhsl(241, 69%, 35%)
HSVhsv(241, 82%, 58%)
CMYKcmyk(79.9%, 81.9%, 0%, 41.6%)
CIE-LABlab(20.94, 43.67, -64.57)
CIE-LCHlch(20.94, 77.95, 304.07°)
OKLaboklab(33.75% 0.0043 -0.1869)
OKLCHoklch(33.75% 0.187 271.3)
XYZxyz(6.3503, 3.2291, 28.7165)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B95 #92951B
analogous
#1B5595 #1E1B95 #5B1B95
triadic
#1E1B95 #951E1B #1B951E
tetradic
#1E1B95 #951B55 #92951B #1B955B
square
#1E1B95 #951B55 #92951B #1B955B
split-complementary
#1E1B95 #955B1B #55951B
monochromatic
#09082D #141261 #1E1B95 #2824C9 #4F4CDF

Accessibility & contrast

On white

12.76
#1E1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B95
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B95#FFFFFF#000000##FFFFFF
##1E1B951.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1b95;
/* rgb */ color: rgb(30, 27, 149);
/* oklch */ color: oklch(33.7% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#715bb5',
    500: '#1e1b95',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b95;
$custom-light: #715bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b95",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 241.475,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33747,
    "c": 0.18696,
    "h": 271.3
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#1E1B95
secondary
#BEC14B
accent
#EC3CE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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