#1E4789#1E4789

#1E4789 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.119 H 259.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1E4789
RGBrgb(30, 71, 137)
HSLhsl(217, 64%, 33%)
HSVhsv(217, 78%, 54%)
CMYKcmyk(78.1%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.85, 10.62, -40.95)
CIE-LCHlch(30.85, 42.31, 284.54°)
OKLaboklab(40.72% -0.0216 -0.1175)
OKLCHoklch(40.72% 0.12 259.6)
XYZxyz(7.3024, 6.5878, 24.5488)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4789 #89601E
analogous
#1E7D89 #1E4789 #2A1E89
triadic
#1E4789 #891E47 #47891E
tetradic
#1E4789 #891E7D #89601E #1E892A
square
#1E4789 #891E7D #89601E #1E892A
split-complementary
#1E4789 #892A1E #7D891E
monochromatic
#081325 #132D57 #1E4789 #2961BB #4A80D7

Accessibility & contrast

On white

9.06
#1E4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1E4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4789
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4789#FFFFFF#000000##FFFFFF
##1E47891.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8B
Deuteranopia (green-blind)
#064488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e4789;
/* rgb */ color: rgb(30, 71, 137);
/* oklch */ color: oklch(40.7% 0.119 259.6);
Tailwind
colors: {
  custom: {
    50: '#6a79ac',
    500: '#1e4789',
    950: '#000000',
  },
}
SCSS
$custom: #1e4789;
$custom-light: #6a79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4789",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 217.009,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.1195,
    "h": 259.6
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#1E4789
secondary
#BA8F49
accent
#A741E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4789

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

Preview Lab → · Contrast checker → · Palette generator →

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