#1E2984#1E2984

#1E2984 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.151 H 270.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1E2984
RGBrgb(30, 41, 132)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 77%, 52%)
CMYKcmyk(77.3%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.04, 29.32, -52.15)
CIE-LCHlch(22.04, 59.83, 299.35°)
OKLaboklab(33.98% 0.001 -0.1509)
OKLCHoklch(33.98% 0.151 270.4)
XYZxyz(5.4918, 3.5273, 22.2167)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2984 #84791E
analogous
#1E5C84 #1E2984 #461E84
triadic
#1E2984 #841E29 #29841E
tetradic
#1E2984 #841E5C #84791E #1E8446
square
#1E2984 #841E5C #84791E #1E8446
split-complementary
#1E2984 #84461E #5C841E
monochromatic
#070A20 #131A52 #1E2984 #2938B6 #4756D5

Accessibility & contrast

On white

12.31
#1E2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2984
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2984#FFFFFF#000000##FFFFFF
##1E29841.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2984;
/* rgb */ color: rgb(30, 41, 132);
/* oklch */ color: oklch(34.0% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1e2984',
    950: '#000000',
  },
}
SCSS
$custom: #1e2984;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2984",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 233.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33979,
    "c": 0.15088,
    "h": 270.4
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#1E2984
secondary
#B7AB47
accent
#D442E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2984

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

Preview Lab → · Contrast checker → · Palette generator →

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