#1E4589#1E4589

#1E4589 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.122 H 260.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1E4589
RGBrgb(30, 69, 137)
HSLhsl(218, 64%, 33%)
HSVhsv(218, 78%, 54%)
CMYKcmyk(78.1%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.25, 11.99, -41.92)
CIE-LCHlch(30.25, 43.60, 285.96°)
OKLaboklab(40.26% -0.0198 -0.1204)
OKLCHoklch(40.26% 0.122 260.6)
XYZxyz(7.1773, 6.3376, 24.5071)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4589 #89621E
analogous
#1E7A89 #1E4589 #2D1E89
triadic
#1E4589 #891E45 #45891E
tetradic
#1E4589 #891E7A #89621E #1E892D
square
#1E4589 #891E7A #89621E #1E892D
split-complementary
#1E4589 #892D1E #7A891E
monochromatic
#081225 #132C57 #1E4589 #295EBB #4A7ED7

Accessibility & contrast

On white

9.26
#1E4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1E4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4589
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4589#FFFFFF#000000##FFFFFF
##1E45891.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4589;
/* rgb */ color: rgb(30, 69, 137);
/* oklch */ color: oklch(40.3% 0.122 260.6);
Tailwind
colors: {
  custom: {
    50: '#6b78ac',
    500: '#1e4589',
    950: '#000000',
  },
}
SCSS
$custom: #1e4589;
$custom-light: #6b78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4589",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 218.131,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.12204,
    "h": 260.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#1E4589
secondary
#BA9149
accent
#AA41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4589

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

Preview Lab → · Contrast checker → · Palette generator →

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