#1E1D82#1E1D82

#1E1D82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.162 H 272.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1E1D82
RGBrgb(30, 29, 130)
HSLhsl(241, 64%, 31%)
HSVhsv(241, 78%, 51%)
CMYKcmyk(76.9%, 77.7%, 0%, 49%)
CIE-LABlab(19.08, 36.17, -55.77)
CIE-LCHlch(19.08, 66.47, 302.97°)
OKLaboklab(31.79% 0.0077 -0.1614)
OKLCHoklch(31.79% 0.162 272.7)
XYZxyz(5.0027, 2.7659, 21.3850)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D82 #81821D
analogous
#1D4E82 #1E1D82 #501D82
triadic
#1E1D82 #821E1D #1D821E
tetradic
#1E1D82 #821D4E #81821D #1D8250
square
#1E1D82 #821D4E #81821D #1D8250
split-complementary
#1E1D82 #82501D #4E821D
monochromatic
#07071E #121250 #1E1D82 #2A28B4 #4644D5

Accessibility & contrast

On white

13.52
#1E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D82
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D82#FFFFFF#000000##FFFFFF
##1E1D821.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1d82;
/* rgb */ color: rgb(30, 29, 130);
/* oklch */ color: oklch(31.8% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ba7',
    500: '#1e1d82',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d82;
$custom-light: #6c5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d82",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 240.594,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31789,
    "c": 0.16159,
    "h": 272.7
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#1E1D82
secondary
#B4B546
accent
#E741E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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