#1E2384#1E2384

#1E2384 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.158 H 271.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1E2384
RGBrgb(30, 35, 132)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 77%, 52%)
CMYKcmyk(77.3%, 73.5%, 0%, 48.2%)
CIE-LABlab(20.61, 33.22, -54.51)
CIE-LCHlch(20.61, 63.84, 301.36°)
OKLaboklab(32.94% 0.0044 -0.1578)
OKLCHoklch(32.94% 0.158 271.6)
XYZxyz(5.2999, 3.1435, 22.1528)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2384 #847F1E
analogous
#1E5684 #1E2384 #4C1E84
triadic
#1E2384 #841E23 #23841E
tetradic
#1E2384 #841E56 #847F1E #1E844C
square
#1E2384 #841E56 #847F1E #1E844C
split-complementary
#1E2384 #844C1E #56841E
monochromatic
#070920 #131652 #1E2384 #2930B6 #474ED5

Accessibility & contrast

On white

12.89
#1E2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2384
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2384#FFFFFF#000000##FFFFFF
##1E23841.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2384;
/* rgb */ color: rgb(30, 35, 132);
/* oklch */ color: oklch(32.9% 0.158 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c5fa9',
    500: '#1e2384',
    950: '#000000',
  },
}
SCSS
$custom: #1e2384;
$custom-light: #6c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2384",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 237.059,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32944,
    "c": 0.15783,
    "h": 271.6
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#1E2384
secondary
#B7B147
accent
#DE42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2384

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

Preview Lab → · Contrast checker → · Palette generator →

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