#1E4894#1E4894

#1E4894 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.134 H 261.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1E4894
RGBrgb(30, 72, 148)
HSLhsl(219, 66%, 35%)
HSVhsv(219, 80%, 58%)
CMYKcmyk(79.7%, 51.4%, 0%, 42%)
CIE-LABlab(31.92, 14.37, -45.98)
CIE-LCHlch(31.92, 48.17, 287.35°)
OKLaboklab(41.79% -0.0207 -0.1323)
OKLCHoklch(41.79% 0.134 261.1)
XYZxyz(8.1961, 7.0479, 28.9396)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4894 #946A1E
analogous
#1E8394 #1E4894 #2F1E94
triadic
#1E4894 #941E48 #48941E
tetradic
#1E4894 #941E83 #946A1E #1E942F
square
#1E4894 #941E83 #946A1E #1E942F
split-complementary
#1E4894 #942F1E #83941E
monochromatic
#09162E #142F61 #1E4894 #2861C7 #5182DC

Accessibility & contrast

On white

8.71
#1E4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1E4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4894
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4894#FFFFFF#000000##FFFFFF
##1E48941.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4894;
/* rgb */ color: rgb(30, 72, 148);
/* oklch */ color: oklch(41.8% 0.134 261.1);
Tailwind
colors: {
  custom: {
    50: '#6d7ab4',
    500: '#1e4894',
    950: '#000000',
  },
}
SCSS
$custom: #1e4894;
$custom-light: #6d7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4894",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 218.644,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.13391,
    "h": 261.1
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#1E4894
secondary
#BF974F
accent
#AC3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4894

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

Preview Lab → · Contrast checker → · Palette generator →

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