#1E3587#1E3587

#1E3587 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.140 H 267.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1E3587
RGBrgb(30, 53, 135)
HSLhsl(227, 64%, 32%)
HSVhsv(227, 78%, 53%)
CMYKcmyk(77.8%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.48, 22.29, -48.41)
CIE-LCHlch(25.48, 53.30, 294.72°)
OKLaboklab(36.6% -0.0071 -0.1398)
OKLCHoklch(36.6% 0.14 267.1)
XYZxyz(6.1802, 4.5708, 23.4735)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3587 #87701E
analogous
#1E6A87 #1E3587 #3B1E87
triadic
#1E3587 #871E35 #35871E
tetradic
#1E3587 #871E6A #87701E #1E873B
square
#1E3587 #871E6A #87701E #1E873B
split-complementary
#1E3587 #873B1E #6A871E
monochromatic
#080E23 #132155 #1E3587 #2949B9 #4968D7

Accessibility & contrast

On white

10.97
#1E3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3587
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3587#FFFFFF#000000##FFFFFF
##1E35871.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3587;
/* rgb */ color: rgb(30, 53, 135);
/* oklch */ color: oklch(36.6% 0.140 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6bab',
    500: '#1e3587',
    950: '#000000',
  },
}
SCSS
$custom: #1e3587;
$custom-light: #6b6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3587",
  "rgb": {
    "r": 30,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 226.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.13999,
    "h": 267.1
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#1E3587
secondary
#B9A048
accent
#C241E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3587

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

Preview Lab → · Contrast checker → · Palette generator →

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