#1E1F91#1E1F91

#1E1F91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.179 H 271.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1E1F91
RGBrgb(30, 31, 145)
HSLhsl(239, 66%, 34%)
HSVhsv(239, 79%, 57%)
CMYKcmyk(79.3%, 78.6%, 0%, 43.1%)
CIE-LABlab(21.21, 40.19, -61.65)
CIE-LCHlch(21.21, 73.60, 303.10°)
OKLaboklab(33.8% 0.0039 -0.1785)
OKLCHoklch(33.8% 0.179 271.3)
XYZxyz(6.1345, 3.2996, 27.0962)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F91 #91901E
analogous
#1E5991 #1E1F91 #571E91
triadic
#1E1F91 #911E1F #1F911E
tetradic
#1E1F91 #911E59 #91901E #1E9157
square
#1E1F91 #911E59 #91901E #1E9157
split-complementary
#1E1F91 #91571E #59911E
monochromatic
#09092C #14145E #1E1F91 #282AC4 #4F50DB

Accessibility & contrast

On white

12.65
#1E1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F91
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F91#FFFFFF#000000##FFFFFF
##1E1F911.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e1f91;
/* rgb */ color: rgb(30, 31, 145);
/* oklch */ color: oklch(33.8% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#705db2',
    500: '#1e1f91',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f91;
$custom-light: #705db2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f91",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 239.478,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.17854,
    "h": 271.3
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#1E1F91
secondary
#BDBC4D
accent
#E73FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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