#1E3987#1E3987

#1E3987 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.135 H 265.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1E3987
RGBrgb(30, 57, 135)
HSLhsl(225, 64%, 32%)
HSVhsv(225, 78%, 53%)
CMYKcmyk(77.8%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.59, 19.50, -46.59)
CIE-LCHlch(26.59, 50.51, 292.71°)
OKLaboklab(37.43% -0.0102 -0.1344)
OKLCHoklch(37.43% 0.135 265.7)
XYZxyz(6.3702, 4.9508, 23.5369)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3987 #876C1E
analogous
#1E6E87 #1E3987 #371E87
triadic
#1E3987 #871E39 #39871E
tetradic
#1E3987 #871E6E #876C1E #1E8737
square
#1E3987 #871E6E #876C1E #1E8737
split-complementary
#1E3987 #87371E #6E871E
monochromatic
#080F23 #132455 #1E3987 #294EB9 #496DD7

Accessibility & contrast

On white

10.55
#1E3987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E3987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3987
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3987#FFFFFF#000000##FFFFFF
##1E39871.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e3987;
/* rgb */ color: rgb(30, 57, 135);
/* oklch */ color: oklch(37.4% 0.135 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6eab',
    500: '#1e3987',
    950: '#000000',
  },
}
SCSS
$custom: #1e3987;
$custom-light: #6b6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3987",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 224.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.13477,
    "h": 265.7
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#1E3987
secondary
#B99C48
accent
#BC41E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3987

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

Preview Lab → · Contrast checker → · Palette generator →

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