#1E4989#1E4989

#1E4989 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.117 H 258.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1E4989
RGBrgb(30, 73, 137)
HSLhsl(216, 64%, 33%)
HSVhsv(216, 78%, 54%)
CMYKcmyk(78.1%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.45, 9.26, -39.98)
CIE-LCHlch(31.45, 41.04, 283.04°)
OKLaboklab(41.19% -0.0234 -0.1146)
OKLCHoklch(41.19% 0.117 258.5)
XYZxyz(7.4317, 6.8464, 24.5919)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4989 #895E1E
analogous
#1E7E89 #1E4989 #291E89
triadic
#1E4989 #891E49 #49891E
tetradic
#1E4989 #891E7E #895E1E #1E8929
square
#1E4989 #891E7E #895E1E #1E8929
split-complementary
#1E4989 #89291E #7E891E
monochromatic
#081325 #132E57 #1E4989 #2964BB #4A83D7

Accessibility & contrast

On white

8.86
#1E4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1E4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4989
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4989#FFFFFF#000000##FFFFFF
##1E49891.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8B
Deuteranopia (green-blind)
#104588
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4989;
/* rgb */ color: rgb(30, 73, 137);
/* oklch */ color: oklch(41.2% 0.117 258.5);
Tailwind
colors: {
  custom: {
    50: '#6a7bac',
    500: '#1e4989',
    950: '#000000',
  },
}
SCSS
$custom: #1e4989;
$custom-light: #6a7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4989",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 215.888,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.11699,
    "h": 258.5
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#1E4989
secondary
#BA8C49
accent
#A441E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4989

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

Preview Lab → · Contrast checker → · Palette generator →

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