#1E4387#1E4387

#1E4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.122 H 261.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1E4387
RGBrgb(30, 67, 135)
HSLhsl(219, 64%, 32%)
HSVhsv(219, 78%, 53%)
CMYKcmyk(77.8%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.51, 12.56, -41.87)
CIE-LCHlch(29.51, 43.72, 286.70°)
OKLaboklab(39.65% -0.0184 -0.1203)
OKLCHoklch(39.65% 0.122 261.3)
XYZxyz(6.9142, 6.0388, 23.7182)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4387 #87621E
analogous
#1E7887 #1E4387 #2E1E87
triadic
#1E4387 #871E43 #43871E
tetradic
#1E4387 #871E78 #87621E #1E872E
square
#1E4387 #871E78 #87621E #1E872E
split-complementary
#1E4387 #872E1E #78871E
monochromatic
#081123 #132A55 #1E4387 #295CB9 #497BD7

Accessibility & contrast

On white

9.51
#1E4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1E4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4387
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4387#FFFFFF#000000##FFFFFF
##1E43871.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4387;
/* rgb */ color: rgb(30, 67, 135);
/* oklch */ color: oklch(39.6% 0.122 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a76aa',
    500: '#1e4387',
    950: '#000000',
  },
}
SCSS
$custom: #1e4387;
$custom-light: #6a76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4387",
  "rgb": {
    "r": 30,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 218.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.12172,
    "h": 261.3
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#1E4387
secondary
#B99148
accent
#AC41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4387

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

Preview Lab → · Contrast checker → · Palette generator →

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