#1E2382#1E2382

#1E2382 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.155 H 271.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2382
RGBrgb(30, 35, 130)
HSLhsl(237, 63%, 31%)
HSVhsv(237, 77%, 51%)
CMYKcmyk(76.9%, 73.1%, 0%, 49%)
CIE-LABlab(20.40, 32.49, -53.60)
CIE-LCHlch(20.40, 62.68, 301.22°)
OKLaboklab(32.73% 0.0047 -0.1551)
OKLCHoklch(32.73% 0.155 271.7)
XYZxyz(5.1644, 3.0892, 21.4389)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2382 #827D1E
analogous
#1E5582 #1E2382 #4B1E82
triadic
#1E2382 #821E23 #23821E
tetradic
#1E2382 #821E55 #827D1E #1E824B
square
#1E2382 #821E55 #827D1E #1E824B
split-complementary
#1E2382 #824B1E #55821E
monochromatic
#07081F #131650 #1E2382 #2930B4 #464DD4

Accessibility & contrast

On white

12.98
#1E2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2382
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2382#FFFFFF#000000##FFFFFF
##1E23821.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2382;
/* rgb */ color: rgb(30, 35, 130);
/* oklch */ color: oklch(32.7% 0.155 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1e2382',
    950: '#000000',
  },
}
SCSS
$custom: #1e2382;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2382",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 237,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32728,
    "c": 0.15518,
    "h": 271.7
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#1E2382
secondary
#B5AF47
accent
#DD42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2382

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

Preview Lab → · Contrast checker → · Palette generator →

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