#1E2386#1E2386

#1E2386 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.160 H 271.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2386
RGBrgb(30, 35, 134)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.6%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.82, 33.95, -55.42)
CIE-LCHlch(20.82, 64.99, 301.49°)
OKLaboklab(33.16% 0.0041 -0.1604)
OKLCHoklch(33.16% 0.16 271.5)
XYZxyz(5.4381, 3.1987, 22.8805)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2386 #86811E
analogous
#1E5786 #1E2386 #4D1E86
triadic
#1E2386 #861E23 #23861E
tetradic
#1E2386 #861E57 #86811E #1E864D
square
#1E2386 #861E57 #86811E #1E864D
split-complementary
#1E2386 #864D1E #57861E
monochromatic
#080922 #131654 #1E2386 #2930B8 #484FD6

Accessibility & contrast

On white

12.81
#1E2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2386
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2386#FFFFFF#000000##FFFFFF
##1E23861.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2386;
/* rgb */ color: rgb(30, 35, 134);
/* oklch */ color: oklch(33.2% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1e2386',
    950: '#000000',
  },
}
SCSS
$custom: #1e2386;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2386",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 237.115,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.16046,
    "h": 271.5
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#1E2386
secondary
#B8B347
accent
#DF41E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2386

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

Preview Lab → · Contrast checker → · Palette generator →

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