#1E4889#1E4889

#1E4889 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.118 H 259.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#1E4889
RGBrgb(30, 72, 137)
HSLhsl(216, 64%, 33%)
HSVhsv(216, 78%, 54%)
CMYKcmyk(78.1%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.15, 9.94, -40.47)
CIE-LCHlch(31.15, 41.67, 283.80°)
OKLaboklab(40.95% -0.0225 -0.1161)
OKLCHoklch(40.95% 0.118 259)
XYZxyz(7.3665, 6.7161, 24.5701)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4889 #895F1E
analogous
#1E7D89 #1E4889 #2A1E89
triadic
#1E4889 #891E48 #48891E
tetradic
#1E4889 #891E7D #895F1E #1E892A
square
#1E4889 #891E7D #895F1E #1E892A
split-complementary
#1E4889 #892A1E #7D891E
monochromatic
#081325 #132E57 #1E4889 #2962BB #4A82D7

Accessibility & contrast

On white

8.96
#1E4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1E4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4889
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4889#FFFFFF#000000##FFFFFF
##1E48891.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8B
Deuteranopia (green-blind)
#0C4588
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e4889;
/* rgb */ color: rgb(30, 72, 137);
/* oklch */ color: oklch(41.0% 0.118 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a7aac',
    500: '#1e4889',
    950: '#000000',
  },
}
SCSS
$custom: #1e4889;
$custom-light: #6a7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4889",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 216.449,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.11824,
    "h": 259
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#1E4889
secondary
#BA8E49
accent
#A641E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4889

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

Preview Lab → · Contrast checker → · Palette generator →

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