#1E4EA1#1E4EA1

#1E4EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.145 H 260.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1E4EA1
RGBrgb(30, 78, 161)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 81%, 63%)
CMYKcmyk(81.4%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.59, 15.51, -49.51)
CIE-LCHlch(34.59, 51.89, 287.39°)
OKLaboklab(44.13% -0.0236 -0.1426)
OKLCHoklch(44.13% 0.145 260.6)
XYZxyz(9.6905, 8.2968, 34.8020)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4EA1 #A1711E
analogous
#1E90A1 #1E4EA1 #2F1EA1
triadic
#1E4EA1 #A11E4E #4EA11E
tetradic
#1E4EA1 #A11E90 #A1711E #1EA12F
square
#1E4EA1 #A11E90 #A1711E #1EA12F
split-complementary
#1E4EA1 #A12F1E #90A11E
monochromatic
#0B1C3A #14356D #1E4EA1 #2867D5 #598BE0

Accessibility & contrast

On white

7.90
#1E4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1E4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4EA1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4EA1#FFFFFF#000000##FFFFFF
##1E4EA11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4ea1;
/* rgb */ color: rgb(30, 78, 161);
/* oklch */ color: oklch(44.1% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#707ebd',
    500: '#1e4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ea1;
$custom-light: #707ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ea1",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 218.015,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44128,
    "c": 0.14454,
    "h": 260.6
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#1E4EA1
secondary
#C49C57
accent
#AB3CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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