#1E1B97#1E1B97

#1E1B97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.189 H 271.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1E1B97
RGBrgb(30, 27, 151)
HSLhsl(241, 70%, 35%)
HSVhsv(241, 82%, 59%)
CMYKcmyk(80.1%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.18, 44.32, -65.40)
CIE-LCHlch(21.18, 79.00, 304.12°)
OKLaboklab(33.99% 0.0039 -0.1893)
OKLCHoklch(33.99% 0.189 271.2)
XYZxyz(6.5114, 3.2935, 29.5647)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B97 #94971B
analogous
#1B5697 #1E1B97 #5C1B97
triadic
#1E1B97 #971E1B #1B971E
tetradic
#1E1B97 #971B56 #94971B #1B975C
square
#1E1B97 #971B56 #94971B #1B975C
split-complementary
#1E1B97 #975C1B #56971B
monochromatic
#09082F #141263 #1E1B97 #2824CB #514DDF

Accessibility & contrast

On white

12.66
#1E1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B97
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B97#FFFFFF#000000##FFFFFF
##1E1B971.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002C95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e1b97;
/* rgb */ color: rgb(30, 27, 151);
/* oklch */ color: oklch(34.0% 0.189 271.2);
Tailwind
colors: {
  custom: {
    50: '#725bb7',
    500: '#1e1b97',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b97;
$custom-light: #725bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b97",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 241.452,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.33987,
    "c": 0.18935,
    "h": 271.2
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#1E1B97
secondary
#BFC14C
accent
#EC3BE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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