#1E4E99#1E4E99

#1E4E99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.133 H 259.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#1E4E99
RGBrgb(30, 78, 153)
HSLhsl(217, 67%, 36%)
HSVhsv(217, 80%, 60%)
CMYKcmyk(80.4%, 49%, 0%, 40%)
CIE-LABlab(34.03, 12.30, -45.60)
CIE-LCHlch(34.03, 47.23, 285.10°)
OKLaboklab(43.52% -0.0248 -0.1311)
OKLCHoklch(43.52% 0.133 259.3)
XYZxyz(9.0075, 8.0236, 31.2048)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E99 #99691E
analogous
#1E8B99 #1E4E99 #2B1E99
triadic
#1E4E99 #991E4E #4E991E
tetradic
#1E4E99 #991E8B #99691E #1E992B
square
#1E4E99 #991E8B #99691E #1E992B
split-complementary
#1E4E99 #992B1E #8B991E
monochromatic
#0A1A33 #143466 #1E4E99 #2868CC #548ADD

Accessibility & contrast

On white

8.06
#1E4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1E4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E99#FFFFFF#000000##FFFFFF
##1E4E991.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4e99;
/* rgb */ color: rgb(30, 78, 153);
/* oklch */ color: oklch(43.5% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e99;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e99",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 216.585,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.13339,
    "h": 259.3
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#1E4E99
secondary
#C19652
accent
#A73EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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