#1E1B9D#1E1B9D

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

Color values

HEX#1E1B9D
RGBrgb(30, 27, 157)
HSLhsl(241, 71%, 36%)
HSVhsv(241, 83%, 62%)
CMYKcmyk(80.9%, 82.8%, 0%, 38.4%)
CIE-LABlab(21.92, 46.24, -67.86)
CIE-LCHlch(21.92, 82.12, 304.27°)
OKLaboklab(34.71% 0.0025 -0.1964)
OKLCHoklch(34.71% 0.196 270.7)
XYZxyz(7.0111, 3.4934, 32.1965)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B9D #9A9D1B
analogous
#1B599D #1E1B9D #5F1B9D
triadic
#1E1B9D #9D1E1B #1B9D1E
tetradic
#1E1B9D #9D1B59 #9A9D1B #1B9D5F
square
#1E1B9D #9D1B59 #9A9D1B #1B9D5F
split-complementary
#1E1B9D #9D5F1B #599D1B
monochromatic
#0A0935 #141269 #1E1B9D #2824D1 #5551E1

Accessibility & contrast

On white

12.36
#1E1B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E1B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B9D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B9D#FFFFFF#000000##FFFFFF
##1E1B9D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1b9d;
/* rgb */ color: rgb(30, 27, 157);
/* oklch */ color: oklch(34.7% 0.196 270.7);
Tailwind
colors: {
  custom: {
    50: '#735bbb',
    500: '#1e1b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b9d;
$custom-light: #735bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b9d",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 241.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.19646,
    "h": 270.7
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#1E1B9D
secondary
#C1C450
accent
#ED3AE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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