#1E4087#1E4087

#1E4087 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.126 H 262.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1E4087
RGBrgb(30, 64, 135)
HSLhsl(221, 64%, 32%)
HSVhsv(221, 78%, 53%)
CMYKcmyk(77.8%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.62, 14.63, -43.31)
CIE-LCHlch(28.62, 45.71, 288.67°)
OKLaboklab(38.97% -0.0158 -0.1246)
OKLCHoklch(38.97% 0.126 262.8)
XYZxyz(6.7404, 5.6913, 23.6603)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4087 #87651E
analogous
#1E7587 #1E4087 #301E87
triadic
#1E4087 #871E40 #40871E
tetradic
#1E4087 #871E75 #87651E #1E8730
square
#1E4087 #871E75 #87651E #1E8730
split-complementary
#1E4087 #87301E #75871E
monochromatic
#081123 #132855 #1E4087 #2958B9 #4977D7

Accessibility & contrast

On white

9.82
#1E4087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1E4087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4087
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4087#FFFFFF#000000##FFFFFF
##1E40871.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e4087;
/* rgb */ color: rgb(30, 64, 135);
/* oklch */ color: oklch(39.0% 0.126 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a74aa',
    500: '#1e4087',
    950: '#000000',
  },
}
SCSS
$custom: #1e4087;
$custom-light: #6a74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4087",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 220.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.12561,
    "h": 262.8
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#1E4087
secondary
#B99448
accent
#B141E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4087

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

Preview Lab → · Contrast checker → · Palette generator →

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