#1E3984#1E3984

#1E3984 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.130 H 265.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1E3984
RGBrgb(30, 57, 132)
HSLhsl(224, 63%, 32%)
HSVhsv(224, 77%, 52%)
CMYKcmyk(77.3%, 56.8%, 0%, 48.2%)
CIE-LABlab(26.35, 18.30, -45.11)
CIE-LCHlch(26.35, 48.68, 292.08°)
OKLaboklab(37.18% -0.0104 -0.13)
OKLCHoklch(37.18% 0.13 265.4)
XYZxyz(6.1619, 4.8675, 22.4401)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3984 #84691E
analogous
#1E6C84 #1E3984 #361E84
triadic
#1E3984 #841E39 #39841E
tetradic
#1E3984 #841E6C #84691E #1E8436
square
#1E3984 #841E6C #84691E #1E8436
split-complementary
#1E3984 #84361E #6C841E
monochromatic
#070E20 #132352 #1E3984 #294FB6 #476DD5

Accessibility & contrast

On white

10.64
#1E3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E3984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3984
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3984#FFFFFF#000000##FFFFFF
##1E39841.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3984;
/* rgb */ color: rgb(30, 57, 132);
/* oklch */ color: oklch(37.2% 0.130 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a6ea8',
    500: '#1e3984',
    950: '#000000',
  },
}
SCSS
$custom: #1e3984;
$custom-light: #6a6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3984",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 224.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.13045,
    "h": 265.4
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#1E3984
secondary
#B79947
accent
#BB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1E3984

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

Preview Lab → · Contrast checker → · Palette generator →

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