#1E4887#1E4887

#1E4887 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.115 H 258.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1E4887
RGBrgb(30, 72, 135)
HSLhsl(216, 64%, 32%)
HSVhsv(216, 78%, 53%)
CMYKcmyk(77.8%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.02, 9.13, -39.45)
CIE-LCHlch(31.02, 40.49, 283.04°)
OKLaboklab(40.81% -0.0228 -0.1131)
OKLCHoklch(40.81% 0.115 258.6)
XYZxyz(7.2244, 6.6592, 23.8216)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4887 #875D1E
analogous
#1E7C87 #1E4887 #291E87
triadic
#1E4887 #871E48 #48871E
tetradic
#1E4887 #871E7C #875D1E #1E8729
square
#1E4887 #871E7C #875D1E #1E8729
split-complementary
#1E4887 #87291E #7C871E
monochromatic
#081323 #132D55 #1E4887 #2963B9 #4982D7

Accessibility & contrast

On white

9.01
#1E4887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1E4887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4887
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4887#FFFFFF#000000##FFFFFF
##1E48871.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#104586
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e4887;
/* rgb */ color: rgb(30, 72, 135);
/* oklch */ color: oklch(40.8% 0.115 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a7aaa',
    500: '#1e4887',
    950: '#000000',
  },
}
SCSS
$custom: #1e4887;
$custom-light: #6a7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4887",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 216,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.11537,
    "h": 258.6
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#1E4887
secondary
#B98C48
accent
#A441E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4887

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

Preview Lab → · Contrast checker → · Palette generator →

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