#1E1F86#1E1F86

#1E1F86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.165 H 272.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1E1F86
RGBrgb(30, 31, 134)
HSLhsl(239, 63%, 32%)
HSVhsv(239, 78%, 53%)
CMYKcmyk(77.6%, 76.9%, 0%, 47.5%)
CIE-LABlab(19.95, 36.39, -56.86)
CIE-LCHlch(19.95, 67.50, 302.62°)
OKLaboklab(32.54% 0.0061 -0.1646)
OKLCHoklch(32.54% 0.165 272.1)
XYZxyz(5.3270, 2.9767, 22.8434)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F86 #86851E
analogous
#1E5386 #1E1F86 #511E86
triadic
#1E1F86 #861E1F #1F861E
tetradic
#1E1F86 #861E53 #86851E #1E8651
square
#1E1F86 #861E53 #86851E #1E8651
split-complementary
#1E1F86 #86511E #53861E
monochromatic
#080822 #131354 #1E1F86 #292BB8 #484AD6

Accessibility & contrast

On white

13.16
#1E1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F86
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F86#FFFFFF#000000##FFFFFF
##1E1F861.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1f86;
/* rgb */ color: rgb(30, 31, 134);
/* oklch */ color: oklch(32.5% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d5caa',
    500: '#1e1f86',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f86;
$custom-light: #6d5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f86",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 239.423,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.16469,
    "h": 272.1
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#1E1F86
secondary
#B8B747
accent
#E541E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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