#1E4F99#1E4F99

#1E4F99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.132 H 258.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#1E4F99
RGBrgb(30, 79, 153)
HSLhsl(216, 67%, 36%)
HSVhsv(216, 80%, 60%)
CMYKcmyk(80.4%, 48.4%, 0%, 40%)
CIE-LABlab(34.33, 11.63, -45.12)
CIE-LCHlch(34.33, 46.60, 284.46°)
OKLaboklab(43.75% -0.0256 -0.1296)
OKLCHoklch(43.75% 0.132 258.8)
XYZxyz(9.0791, 8.1668, 31.2287)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F99 #99681E
analogous
#1E8C99 #1E4F99 #2B1E99
triadic
#1E4F99 #991E4F #4F991E
tetradic
#1E4F99 #991E8C #99681E #1E992B
square
#1E4F99 #991E8C #99681E #1E992B
split-complementary
#1E4F99 #992B1E #8C991E
monochromatic
#0A1A33 #143566 #1E4F99 #2869CC #548BDD

Accessibility & contrast

On white

7.97
#1E4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1E4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F99
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F99#FFFFFF#000000##FFFFFF
##1E4F991.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4f99;
/* rgb */ color: rgb(30, 79, 153);
/* oklch */ color: oklch(43.7% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1e4f99',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f99;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f99",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 216.098,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.13215,
    "h": 258.8
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#1E4F99
secondary
#C19552
accent
#A53EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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