#1E4997#1E4997

#1E4997 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.137 H 261.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1E4997
RGBrgb(30, 73, 151)
HSLhsl(219, 67%, 35%)
HSVhsv(219, 80%, 59%)
CMYKcmyk(80.1%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.42, 14.89, -46.98)
CIE-LCHlch(32.42, 49.28, 287.58°)
OKLaboklab(42.24% -0.0211 -0.1352)
OKLCHoklch(42.24% 0.137 261.1)
XYZxyz(8.5019, 7.2745, 30.2282)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4997 #976C1E
analogous
#1E8597 #1E4997 #301E97
triadic
#1E4997 #971E49 #49971E
tetradic
#1E4997 #971E85 #976C1E #1E9730
square
#1E4997 #971E85 #976C1E #1E9730
split-complementary
#1E4997 #97301E #85971E
monochromatic
#0A1831 #143064 #1E4997 #2862CA #5384DD

Accessibility & contrast

On white

8.55
#1E4997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1E4997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4997
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4997#FFFFFF#000000##FFFFFF
##1E49971.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4997;
/* rgb */ color: rgb(30, 73, 151);
/* oklch */ color: oklch(42.2% 0.137 261.1);
Tailwind
colors: {
  custom: {
    50: '#6e7bb6',
    500: '#1e4997',
    950: '#000000',
  },
}
SCSS
$custom: #1e4997;
$custom-light: #6e7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4997",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 218.678,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.13687,
    "h": 261.1
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4997

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

Preview Lab → · Contrast checker → · Palette generator →

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