#1E1F82#1E1F82

#1E1F82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.160 H 272.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1E1F82
RGBrgb(30, 31, 130)
HSLhsl(239, 63%, 31%)
HSVhsv(239, 77%, 51%)
CMYKcmyk(76.9%, 76.2%, 0%, 49%)
CIE-LABlab(19.50, 34.98, -55.07)
CIE-LCHlch(19.50, 65.24, 302.42°)
OKLaboklab(32.09% 0.0068 -0.1594)
OKLCHoklch(32.09% 0.16 272.4)
XYZxyz(5.0533, 2.8672, 21.4019)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F82 #82811E
analogous
#1E5182 #1E1F82 #4F1E82
triadic
#1E1F82 #821E1F #1F821E
tetradic
#1E1F82 #821E51 #82811E #1E824F
square
#1E1F82 #821E51 #82811E #1E824F
split-complementary
#1E1F82 #824F1E #51821E
monochromatic
#07071F #131350 #1E1F82 #292BB4 #4647D4

Accessibility & contrast

On white

13.35
#1E1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F82
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F82#FFFFFF#000000##FFFFFF
##1E1F821.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1f82;
/* rgb */ color: rgb(30, 31, 130);
/* oklch */ color: oklch(32.1% 0.160 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ca7',
    500: '#1e1f82',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f82;
$custom-light: #6c5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f82",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 239.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32089,
    "c": 0.15952,
    "h": 272.4
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#1E1F82
secondary
#B5B447
accent
#E442E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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