#1E4987#1E4987

#1E4987 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.114 H 258.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1E4987
RGBrgb(30, 73, 135)
HSLhsl(215, 64%, 32%)
HSVhsv(215, 78%, 53%)
CMYKcmyk(77.8%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.32, 8.46, -38.96)
CIE-LCHlch(31.32, 39.87, 282.25°)
OKLaboklab(41.04% -0.0238 -0.1116)
OKLCHoklch(41.04% 0.114 258)
XYZxyz(7.2895, 6.7895, 23.8433)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4987 #875C1E
analogous
#1E7D87 #1E4987 #281E87
triadic
#1E4987 #871E49 #49871E
tetradic
#1E4987 #871E7D #875C1E #1E8728
square
#1E4987 #871E7D #875C1E #1E8728
split-complementary
#1E4987 #87281E #7D871E
monochromatic
#081323 #132E55 #1E4987 #2964B9 #4983D7

Accessibility & contrast

On white

8.91
#1E4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1E4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4987
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4987#FFFFFF#000000##FFFFFF
##1E49871.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4987;
/* rgb */ color: rgb(30, 73, 135);
/* oklch */ color: oklch(41.0% 0.114 258.0);
Tailwind
colors: {
  custom: {
    50: '#6a7baa',
    500: '#1e4987',
    950: '#000000',
  },
}
SCSS
$custom: #1e4987;
$custom-light: #6a7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4987",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 215.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.11413,
    "h": 258
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4987

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

Preview Lab → · Contrast checker → · Palette generator →

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