#1E2284#1E2284

#1E2284 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.159 H 271.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1E2284
RGBrgb(30, 34, 132)
HSLhsl(238, 63%, 32%)
HSVhsv(238, 77%, 52%)
CMYKcmyk(77.3%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.38, 33.85, -54.88)
CIE-LCHlch(20.38, 64.48, 301.66°)
OKLaboklab(32.78% 0.005 -0.1588)
OKLCHoklch(32.78% 0.159 271.8)
XYZxyz(5.2709, 3.0855, 22.1431)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2284 #84801E
analogous
#1E5584 #1E2284 #4D1E84
triadic
#1E2284 #841E22 #22841E
tetradic
#1E2284 #841E55 #84801E #1E844D
square
#1E2284 #841E55 #84801E #1E844D
split-complementary
#1E2284 #844D1E #55841E
monochromatic
#070820 #131552 #1E2284 #292FB6 #474DD5

Accessibility & contrast

On white

12.99
#1E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2284
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2284#FFFFFF#000000##FFFFFF
##1E22841.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2284;
/* rgb */ color: rgb(30, 34, 132);
/* oklch */ color: oklch(32.8% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ea9',
    500: '#1e2284',
    950: '#000000',
  },
}
SCSS
$custom: #1e2284;
$custom-light: #6c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2284",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 237.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.15893,
    "h": 271.8
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#1E2284
secondary
#B7B247
accent
#E042E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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