#1E1D96#1E1D96

#1E1D96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.186 H 271.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1E1D96
RGBrgb(30, 29, 150)
HSLhsl(240, 68%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(80%, 80.7%, 0%, 41.2%)
CIE-LABlab(21.42, 42.96, -64.40)
CIE-LCHlch(21.42, 77.41, 303.71°)
OKLaboklab(34.12% 0.0035 -0.1864)
OKLCHoklch(34.12% 0.186 271.1)
XYZxyz(6.4779, 3.3560, 29.1546)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D96 #95961D
analogous
#1D5896 #1E1D96 #5B1D96
triadic
#1E1D96 #961E1D #1D961E
tetradic
#1E1D96 #961D58 #95961D #1D965B
square
#1E1D96 #961D58 #95961D #1D965B
split-complementary
#1E1D96 #965B1D #58961D
monochromatic
#09092F #141363 #1E1D96 #2827C9 #5150DD

Accessibility & contrast

On white

12.56
#1E1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D96
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D96#FFFFFF#000000##FFFFFF
##1E1D961.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e1d96;
/* rgb */ color: rgb(30, 29, 150);
/* oklch */ color: oklch(34.1% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#715cb6',
    500: '#1e1d96',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d96;
$custom-light: #715cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d96",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 240.496,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.18646,
    "h": 271.1
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#1E1D96
secondary
#BFC04F
accent
#EA3DE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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