#1E1F96#1E1F96

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

Color values

HEX#1E1F96
RGBrgb(30, 31, 150)
HSLhsl(240, 67%, 35%)
HSVhsv(240, 80%, 59%)
CMYKcmyk(80%, 79.3%, 0%, 41.2%)
CIE-LABlab(21.79, 41.88, -63.78)
CIE-LCHlch(21.79, 76.30, 303.29°)
OKLaboklab(34.38% 0.0029 -0.1847)
OKLCHoklch(34.38% 0.185 270.9)
XYZxyz(6.5286, 3.4573, 29.1715)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F96 #96951E
analogous
#1E5B96 #1E1F96 #591E96
triadic
#1E1F96 #961E1F #1F961E
tetradic
#1E1F96 #961E5B #96951E #1E9659
square
#1E1F96 #961E5B #96951E #1E9659
split-complementary
#1E1F96 #96591E #5B961E
monochromatic
#0A0A30 #141463 #1E1F96 #282AC9 #5253DC

Accessibility & contrast

On white

12.41
#1E1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1F96
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F96#FFFFFF#000000##FFFFFF
##1E1F961.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1f96;
/* rgb */ color: rgb(30, 31, 150);
/* oklch */ color: oklch(34.4% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#715db6',
    500: '#1e1f96',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f96;
$custom-light: #715db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f96",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 239.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34376,
    "c": 0.18469,
    "h": 270.9
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#1E1F96
secondary
#BFBF50
accent
#E83EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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