#1E3384#1E3384

#1E3384 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.138 H 267.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1E3384
RGBrgb(30, 51, 132)
HSLhsl(228, 63%, 32%)
HSVhsv(228, 77%, 52%)
CMYKcmyk(77.3%, 61.4%, 0%, 48.2%)
CIE-LABlab(24.67, 22.49, -47.86)
CIE-LCHlch(24.67, 52.88, 295.17°)
OKLaboklab(35.91% -0.0057 -0.1382)
OKLCHoklch(35.91% 0.138 267.6)
XYZxyz(5.8827, 4.3090, 22.3470)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3384 #846F1E
analogous
#1E6684 #1E3384 #3C1E84
triadic
#1E3384 #841E33 #33841E
tetradic
#1E3384 #841E66 #846F1E #1E843C
square
#1E3384 #841E66 #846F1E #1E843C
split-complementary
#1E3384 #843C1E #66841E
monochromatic
#070C20 #132052 #1E3384 #2946B6 #4764D5

Accessibility & contrast

On white

11.28
#1E3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3384
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3384#FFFFFF#000000##FFFFFF
##1E33841.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3384;
/* rgb */ color: rgb(30, 51, 132);
/* oklch */ color: oklch(35.9% 0.138 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aa8',
    500: '#1e3384',
    950: '#000000',
  },
}
SCSS
$custom: #1e3384;
$custom-light: #6a6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3384",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 227.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35914,
    "c": 0.13832,
    "h": 267.6
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#1E3384
secondary
#B7A047
accent
#C442E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1E3384

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

Preview Lab → · Contrast checker → · Palette generator →

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