#1E4AA1#1E4AA1

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

Color values

HEX#1E4AA1
RGBrgb(30, 74, 161)
HSLhsl(220, 69%, 37%)
HSVhsv(220, 81%, 63%)
CMYKcmyk(81.4%, 54%, 0%, 36.9%)
CIE-LABlab(33.45, 18.21, -51.37)
CIE-LCHlch(33.45, 54.50, 289.52°)
OKLaboklab(43.26% -0.0207 -0.1481)
OKLCHoklch(43.26% 0.15 262.1)
XYZxyz(9.4149, 7.7457, 34.7102)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4AA1 #A1751E
analogous
#1E8CA1 #1E4AA1 #331EA1
triadic
#1E4AA1 #A11E4A #4AA11E
tetradic
#1E4AA1 #A11E8C #A1751E #1EA133
square
#1E4AA1 #A11E8C #A1751E #1EA133
split-complementary
#1E4AA1 #A1331E #8CA11E
monochromatic
#0B1B3A #14326D #1E4AA1 #2862D5 #5987E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E4AA1#FFFFFF#000000##FFFFFF
##1E4AA11.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)
#0355A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4aa1;
/* rgb */ color: rgb(30, 74, 161);
/* oklch */ color: oklch(43.3% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#707bbd',
    500: '#1e4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1e4aa1;
$custom-light: #707bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4aa1",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 219.847,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.14957,
    "h": 262.1
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#1E4AA1
secondary
#C49F57
accent
#B13CEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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