#1E2387#1E2387

#1E2387 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2387
RGBrgb(30, 35, 135)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.8%, 74.1%, 0%, 47.1%)
CIE-LABlab(20.93, 34.31, -55.87)
CIE-LCHlch(20.93, 65.56, 301.55°)
OKLaboklab(33.27% 0.004 -0.1617)
OKLCHoklch(33.27% 0.162 271.4)
XYZxyz(5.5081, 3.2268, 23.2495)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2387 #87821E
analogous
#1E5787 #1E2387 #4E1E87
triadic
#1E2387 #871E23 #23871E
tetradic
#1E2387 #871E57 #87821E #1E874E
square
#1E2387 #871E57 #87821E #1E874E
split-complementary
#1E2387 #874E1E #57871E
monochromatic
#080923 #131655 #1E2387 #2930B9 #4950D7

Accessibility & contrast

On white

12.76
#1E2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2387
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2387#FFFFFF#000000##FFFFFF
##1E23871.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2387;
/* rgb */ color: rgb(30, 35, 135);
/* oklch */ color: oklch(33.3% 0.162 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d5fab',
    500: '#1e2387',
    950: '#000000',
  },
}
SCSS
$custom: #1e2387;
$custom-light: #6d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2387",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 237.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.16177,
    "h": 271.4
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#1E2387
secondary
#B9B348
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2387

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

Preview Lab → · Contrast checker → · Palette generator →

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