#1E4A89#1E4A89

#1E4A89 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.116 H 257.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1E4A89
RGBrgb(30, 74, 137)
HSLhsl(215, 64%, 33%)
HSVhsv(215, 78%, 54%)
CMYKcmyk(78.1%, 46%, 0%, 46.3%)
CIE-LABlab(31.76, 8.58, -39.49)
CIE-LCHlch(31.76, 40.41, 282.26°)
OKLaboklab(41.42% -0.0243 -0.1132)
OKLCHoklch(41.42% 0.116 257.9)
XYZxyz(7.4979, 6.9789, 24.6140)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A89 #895D1E
analogous
#1E7F89 #1E4A89 #271E89
triadic
#1E4A89 #891E4A #4A891E
tetradic
#1E4A89 #891E7F #895D1E #1E8927
square
#1E4A89 #891E7F #895D1E #1E8927
split-complementary
#1E4A89 #89271E #7F891E
monochromatic
#081425 #132F57 #1E4A89 #2965BB #4A84D7

Accessibility & contrast

On white

8.76
#1E4A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1E4A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A89
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A89#FFFFFF#000000##FFFFFF
##1E4A891.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a89;
/* rgb */ color: rgb(30, 74, 137);
/* oklch */ color: oklch(41.4% 0.116 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1e4a89',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a89;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a89",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 215.327,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.11574,
    "h": 257.9
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#1E4A89
secondary
#BA8B49
accent
#A341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4A89

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

Preview Lab → · Contrast checker → · Palette generator →

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