#1E1E97#1E1E97

#1E1E97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.187 H 270.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1E1E97
RGBrgb(30, 30, 151)
HSLhsl(240, 67%, 35%)
HSVhsv(240, 80%, 59%)
CMYKcmyk(80.1%, 80.1%, 0%, 40.8%)
CIE-LABlab(21.72, 42.76, -64.51)
CIE-LCHlch(21.72, 77.39, 303.54°)
OKLaboklab(34.36% 0.003 -0.1868)
OKLCHoklch(34.36% 0.187 270.9)
XYZxyz(6.5837, 3.4382, 29.5888)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E97 #97971E
analogous
#1E5A97 #1E1E97 #5A1E97
triadic
#1E1E97 #971E1E #1E971E
tetradic
#1E1E97 #971E5A #97971E #1E975A
square
#1E1E97 #971E5A #97971E #1E975A
split-complementary
#1E1E97 #975A1E #5A971E
monochromatic
#0A0A31 #141464 #1E1E97 #2828CA #5353DD

Accessibility & contrast

On white

12.44
#1E1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E97
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E97#FFFFFF#000000##FFFFFF
##1E1E971.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1e97;
/* rgb */ color: rgb(30, 30, 151);
/* oklch */ color: oklch(34.4% 0.187 270.9);
Tailwind
colors: {
  custom: {
    50: '#715cb7',
    500: '#1e1e97',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e97;
$custom-light: #715cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e97",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34362,
    "c": 0.1868,
    "h": 270.9
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#1E1E97
secondary
#C0C051
accent
#EA3EEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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