#1E2587#1E2587

#1E2587 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.160 H 271.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1E2587
RGBrgb(30, 37, 135)
HSLhsl(236, 64%, 32%)
HSVhsv(236, 78%, 53%)
CMYKcmyk(77.8%, 72.6%, 0%, 47.1%)
CIE-LABlab(21.39, 33.05, -55.12)
CIE-LCHlch(21.39, 64.27, 300.95°)
OKLaboklab(33.6% 0.003 -0.1595)
OKLCHoklch(33.6% 0.16 271.1)
XYZxyz(5.5687, 3.3478, 23.2697)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2587 #87801E
analogous
#1E5A87 #1E2587 #4C1E87
triadic
#1E2587 #871E25 #25871E
tetradic
#1E2587 #871E5A #87801E #1E874C
square
#1E2587 #871E5A #87801E #1E874C
split-complementary
#1E2587 #874C1E #5A871E
monochromatic
#080A23 #131755 #1E2587 #2933B9 #4952D7

Accessibility & contrast

On white

12.58
#1E2587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2587
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2587#FFFFFF#000000##FFFFFF
##1E25871.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2587;
/* rgb */ color: rgb(30, 37, 135);
/* oklch */ color: oklch(33.6% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d60ab',
    500: '#1e2587',
    950: '#000000',
  },
}
SCSS
$custom: #1e2587;
$custom-light: #6d60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2587",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 236,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33597,
    "c": 0.15957,
    "h": 271.1
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#1E2587
secondary
#B9B148
accent
#DC41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2587

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

Preview Lab → · Contrast checker → · Palette generator →

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