#1E4EA7#1E4EA7

#1E4EA7 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.153 H 261.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#1E4EA7
RGBrgb(30, 78, 167)
HSLhsl(219, 70%, 39%)
HSVhsv(219, 82%, 65%)
CMYKcmyk(82%, 53.3%, 0%, 34.5%)
CIE-LABlab(35.03, 17.90, -52.40)
CIE-LCHlch(35.03, 55.37, 288.86°)
OKLaboklab(44.6% -0.0229 -0.1511)
OKLCHoklch(44.6% 0.153 261.4)
XYZxyz(10.2323, 8.5136, 37.6557)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4EA7 #A7771E
analogous
#1E92A7 #1E4EA7 #321EA7
triadic
#1E4EA7 #A71E4E #4EA71E
tetradic
#1E4EA7 #A71E92 #A7771E #1EA732
square
#1E4EA7 #A71E92 #A7771E #1EA732
split-complementary
#1E4EA7 #A7321E #92A71E
monochromatic
#0B1E3F #153673 #1E4EA7 #2A67D9 #5D8CE2

Accessibility & contrast

On white

7.77
#1E4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1E4EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4EA7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4EA7#FFFFFF#000000##FFFFFF
##1E4EA71.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A59AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e4ea7;
/* rgb */ color: rgb(30, 78, 167);
/* oklch */ color: oklch(44.6% 0.153 261.4);
Tailwind
colors: {
  custom: {
    50: '#727ec2',
    500: '#1e4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ea7;
$custom-light: #727ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ea7",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 218.978,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.446,
    "c": 0.15281,
    "h": 261.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#1E4EA7
secondary
#C6A15B
accent
#AE3BEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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