#1E2082#1E2082

#1E2082 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.158 H 272.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1E2082
RGBrgb(30, 32, 130)
HSLhsl(239, 63%, 31%)
HSVhsv(239, 77%, 51%)
CMYKcmyk(76.9%, 75.4%, 0%, 49%)
CIE-LABlab(19.72, 34.37, -54.71)
CIE-LCHlch(19.72, 64.61, 302.13°)
OKLaboklab(32.24% 0.0063 -0.1583)
OKLCHoklch(32.24% 0.158 272.3)
XYZxyz(5.0798, 2.9202, 21.4107)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2082 #82801E
analogous
#1E5282 #1E2082 #4E1E82
triadic
#1E2082 #821E20 #20821E
tetradic
#1E2082 #821E52 #82801E #1E824E
square
#1E2082 #821E52 #82801E #1E824E
split-complementary
#1E2082 #824E1E #52821E
monochromatic
#07081F #131450 #1E2082 #292CB4 #4649D4

Accessibility & contrast

On white

13.26
#1E2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2082
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2082#FFFFFF#000000##FFFFFF
##1E20821.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2082;
/* rgb */ color: rgb(30, 32, 130);
/* oklch */ color: oklch(32.2% 0.158 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ca7',
    500: '#1e2082',
    950: '#000000',
  },
}
SCSS
$custom: #1e2082;
$custom-light: #6c5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2082",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 238.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.15847,
    "h": 272.3
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#1E2082
secondary
#B5B347
accent
#E242E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2082

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

Preview Lab → · Contrast checker → · Palette generator →

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