#1E4C99#1E4C99

#1E4C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.136 H 260.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1E4C99
RGBrgb(30, 76, 153)
HSLhsl(218, 67%, 36%)
HSVhsv(218, 80%, 60%)
CMYKcmyk(80.4%, 50.3%, 0%, 40%)
CIE-LABlab(33.44, 13.65, -46.55)
CIE-LCHlch(33.44, 48.51, 286.35°)
OKLaboklab(43.07% -0.0232 -0.1339)
OKLCHoklch(43.07% 0.136 260.2)
XYZxyz(8.8675, 7.7438, 31.1582)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C99 #996B1E
analogous
#1E8999 #1E4C99 #2D1E99
triadic
#1E4C99 #991E4C #4C991E
tetradic
#1E4C99 #991E89 #996B1E #1E992D
square
#1E4C99 #991E89 #996B1E #1E992D
split-complementary
#1E4C99 #992D1E #89991E
monochromatic
#0A1933 #143366 #1E4C99 #2865CC #5487DD

Accessibility & contrast

On white

8.24
#1E4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1E4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C99
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C99#FFFFFF#000000##FFFFFF
##1E4C991.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4c99;
/* rgb */ color: rgb(30, 76, 153);
/* oklch */ color: oklch(43.1% 0.136 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7db8',
    500: '#1e4c99',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c99;
$custom-light: #6e7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c99",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 217.561,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.1359,
    "h": 260.2
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#1E4C99
secondary
#C19752
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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