#1E4A97#1E4A97

#1E4A97 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.136 H 260.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1E4A97
RGBrgb(30, 74, 151)
HSLhsl(218, 67%, 35%)
HSVhsv(218, 80%, 59%)
CMYKcmyk(80.1%, 51%, 0%, 40.8%)
CIE-LABlab(32.72, 14.21, -46.51)
CIE-LCHlch(32.72, 48.63, 286.99°)
OKLaboklab(42.47% -0.0219 -0.1338)
OKLCHoklch(42.47% 0.136 260.7)
XYZxyz(8.5681, 7.4069, 30.2503)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A97 #976B1E
analogous
#1E8697 #1E4A97 #2E1E97
triadic
#1E4A97 #971E4A #4A971E
tetradic
#1E4A97 #971E86 #976B1E #1E972E
square
#1E4A97 #971E86 #976B1E #1E972E
split-complementary
#1E4A97 #972E1E #86971E
monochromatic
#0A1831 #143164 #1E4A97 #2863CA #5385DD

Accessibility & contrast

On white

8.46
#1E4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1E4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A97
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A97#FFFFFF#000000##FFFFFF
##1E4A971.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4a97;
/* rgb */ color: rgb(30, 74, 151);
/* oklch */ color: oklch(42.5% 0.136 260.7);
Tailwind
colors: {
  custom: {
    50: '#6e7bb6',
    500: '#1e4a97',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a97;
$custom-light: #6e7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a97",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 218.182,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.1356,
    "h": 260.7
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#1E4A97
secondary
#C09851
accent
#AB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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