#1E4897#1E4897

#1E4897 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.138 H 261.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1E4897
RGBrgb(30, 72, 151)
HSLhsl(219, 67%, 35%)
HSVhsv(219, 80%, 59%)
CMYKcmyk(80.1%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.13, 15.57, -47.45)
CIE-LCHlch(32.13, 49.94, 288.17°)
OKLaboklab(42.02% -0.0203 -0.1366)
OKLCHoklch(42.02% 0.138 261.5)
XYZxyz(8.4367, 7.1441, 30.2065)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4897 #976D1E
analogous
#1E8497 #1E4897 #311E97
triadic
#1E4897 #971E48 #48971E
tetradic
#1E4897 #971E84 #976D1E #1E9731
square
#1E4897 #971E84 #976D1E #1E9731
split-complementary
#1E4897 #97311E #84971E
monochromatic
#0A1731 #143064 #1E4897 #2860CA #5383DD

Accessibility & contrast

On white

8.65
#1E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1E4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4897
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4897#FFFFFF#000000##FFFFFF
##1E48971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4897;
/* rgb */ color: rgb(30, 72, 151);
/* oklch */ color: oklch(42.0% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ab6',
    500: '#1e4897',
    950: '#000000',
  },
}
SCSS
$custom: #1e4897;
$custom-light: #6e7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4897",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 219.174,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.13814,
    "h": 261.5
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#1E4897
secondary
#C09951
accent
#AE3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4897

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

Preview Lab → · Contrast checker → · Palette generator →

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