#1E4E96#1E4E96

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

Color values

HEX#1E4E96
RGBrgb(30, 78, 150)
HSLhsl(216, 67%, 35%)
HSVhsv(216, 80%, 59%)
CMYKcmyk(80%, 48%, 0%, 41.2%)
CIE-LABlab(33.83, 11.10, -44.11)
CIE-LCHlch(33.83, 45.49, 284.13°)
OKLaboklab(43.3% -0.0253 -0.1267)
OKLCHoklch(43.3% 0.129 258.7)
XYZxyz(8.7628, 7.9258, 29.9162)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E96 #96661E
analogous
#1E8A96 #1E4E96 #2A1E96
triadic
#1E4E96 #961E4E #4E961E
tetradic
#1E4E96 #961E8A #96661E #1E962A
square
#1E4E96 #961E8A #96661E #1E962A
split-complementary
#1E4E96 #962A1E #8A961E
monochromatic
#0A1930 #143363 #1E4E96 #2869C9 #5289DC

Accessibility & contrast

On white

8.12
#1E4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1E4E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E96
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E96#FFFFFF#000000##FFFFFF
##1E4E961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#034A95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4e96;
/* rgb */ color: rgb(30, 78, 150);
/* oklch */ color: oklch(43.3% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fb5',
    500: '#1e4e96',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e96;
$custom-light: #6d7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e96",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 216,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.12919,
    "h": 258.7
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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