#1E3687#1E3687

#1E3687 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.139 H 266.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1E3687
RGBrgb(30, 54, 135)
HSLhsl(226, 64%, 32%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(77.8%, 60%, 0%, 47.1%)
CIE-LABlab(25.75, 21.59, -47.96)
CIE-LCHlch(25.75, 52.60, 294.24°)
OKLaboklab(36.8% -0.0079 -0.1385)
OKLCHoklch(36.8% 0.139 266.7)
XYZxyz(6.2262, 4.6629, 23.4889)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3687 #876F1E
analogous
#1E6A87 #1E3687 #3B1E87
triadic
#1E3687 #871E36 #36871E
tetradic
#1E3687 #871E6A #876F1E #1E873B
square
#1E3687 #871E6A #876F1E #1E873B
split-complementary
#1E3687 #873B1E #6A871E
monochromatic
#080E23 #132255 #1E3687 #294AB9 #4969D7

Accessibility & contrast

On white

10.87
#1E3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3687
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3687#FFFFFF#000000##FFFFFF
##1E36871.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3687;
/* rgb */ color: rgb(30, 54, 135);
/* oklch */ color: oklch(36.8% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b6cab',
    500: '#1e3687',
    950: '#000000',
  },
}
SCSS
$custom: #1e3687;
$custom-light: #6b6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3687",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 226.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.13869,
    "h": 266.7
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#1E3687
secondary
#B99F48
accent
#C141E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3687

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

Preview Lab → · Contrast checker → · Palette generator →

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