#1E4AA7#1E4AA7

#1E4AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.158 H 262.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1E4AA7
RGBrgb(30, 74, 167)
HSLhsl(221, 70%, 39%)
HSVhsv(221, 82%, 65%)
CMYKcmyk(82%, 55.7%, 0%, 34.5%)
CIE-LABlab(33.90, 20.60, -54.23)
CIE-LCHlch(33.90, 58.01, 290.80°)
OKLaboklab(43.75% -0.0201 -0.1565)
OKLCHoklch(43.75% 0.158 262.7)
XYZxyz(9.9567, 7.9624, 37.5639)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4AA7 #A77B1E
analogous
#1E8EA7 #1E4AA7 #361EA7
triadic
#1E4AA7 #A71E4A #4AA71E
tetradic
#1E4AA7 #A71E8E #A77B1E #1EA736
square
#1E4AA7 #A71E8E #A77B1E #1EA736
split-complementary
#1E4AA7 #A7361E #8EA71E
monochromatic
#0B1C3F #153373 #1E4AA7 #2A62D9 #5D88E2

Accessibility & contrast

On white

8.10
#1E4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4AA7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4AA7#FFFFFF#000000##FFFFFF
##1E4AA71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4aa7;
/* rgb */ color: rgb(30, 74, 167);
/* oklch */ color: oklch(43.7% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#727bc2',
    500: '#1e4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1e4aa7;
$custom-light: #727bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4aa7",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 220.73,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.15782,
    "h": 262.7
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#1E4AA7
secondary
#C6A45B
accent
#B43BEC
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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