#1E1D97#1E1D97

#1E1D97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.188 H 271.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1E1D97
RGBrgb(30, 29, 151)
HSLhsl(240, 68%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(80.1%, 80.8%, 0%, 40.8%)
CIE-LABlab(21.54, 43.29, -64.81)
CIE-LCHlch(21.54, 77.94, 303.74°)
OKLaboklab(34.23% 0.0033 -0.1876)
OKLCHoklch(34.23% 0.188 271)
XYZxyz(6.5588, 3.3884, 29.5805)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D97 #96971D
analogous
#1D5997 #1E1D97 #5B1D97
triadic
#1E1D97 #971E1D #1D971E
tetradic
#1E1D97 #971D59 #96971D #1D975B
square
#1E1D97 #971D59 #96971D #1D975B
split-complementary
#1E1D97 #975B1D #59971D
monochromatic
#0A0930 #141364 #1E1D97 #2827CA #5251DE

Accessibility & contrast

On white

12.52
#1E1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E1D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D97
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D97#FFFFFF#000000##FFFFFF
##1E1D971.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1d97;
/* rgb */ color: rgb(30, 29, 151);
/* oklch */ color: oklch(34.2% 0.188 271.0);
Tailwind
colors: {
  custom: {
    50: '#725cb7',
    500: '#1e1d97',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d97;
$custom-light: #725cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d97",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 240.492,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34234,
    "c": 0.18767,
    "h": 271
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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