#1E4D99#1E4D99

#1E4D99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.135 H 259.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1E4D99
RGBrgb(30, 77, 153)
HSLhsl(217, 67%, 36%)
HSVhsv(217, 80%, 60%)
CMYKcmyk(80.4%, 49.7%, 0%, 40%)
CIE-LABlab(33.74, 12.98, -46.07)
CIE-LCHlch(33.74, 47.87, 285.73°)
OKLaboklab(43.29% -0.024 -0.1325)
OKLCHoklch(43.29% 0.135 259.7)
XYZxyz(8.9370, 7.8826, 31.1813)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D99 #996A1E
analogous
#1E8A99 #1E4D99 #2C1E99
triadic
#1E4D99 #991E4D #4D991E
tetradic
#1E4D99 #991E8A #996A1E #1E992C
square
#1E4D99 #991E8A #996A1E #1E992C
split-complementary
#1E4D99 #992C1E #8A991E
monochromatic
#0A1933 #143366 #1E4D99 #2867CC #5488DD

Accessibility & contrast

On white

8.15
#1E4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1E4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D99
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D99#FFFFFF#000000##FFFFFF
##1E4D991.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d99;
/* rgb */ color: rgb(30, 77, 153);
/* oklch */ color: oklch(43.3% 0.135 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1e4d99',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d99;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d99",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 217.073,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.13464,
    "h": 259.7
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#1E4D99
secondary
#C19652
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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