#1E2486#1E2486

#1E2486 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.159 H 271.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1E2486
RGBrgb(30, 36, 134)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(77.6%, 73.1%, 0%, 47.5%)
CIE-LABlab(21.05, 33.32, -55.04)
CIE-LCHlch(21.05, 64.34, 301.19°)
OKLaboklab(33.32% 0.0036 -0.1593)
OKLCHoklch(33.32% 0.159 271.3)
XYZxyz(5.4679, 3.2584, 22.8904)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2486 #86801E
analogous
#1E5886 #1E2486 #4C1E86
triadic
#1E2486 #861E24 #24861E
tetradic
#1E2486 #861E58 #86801E #1E864C
square
#1E2486 #861E58 #86801E #1E864C
split-complementary
#1E2486 #864C1E #58861E
monochromatic
#080922 #131754 #1E2486 #2931B8 #4850D6

Accessibility & contrast

On white

12.71
#1E2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2486
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2486#FFFFFF#000000##FFFFFF
##1E24861.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2486;
/* rgb */ color: rgb(30, 36, 134);
/* oklch */ color: oklch(33.3% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1e2486',
    950: '#000000',
  },
}
SCSS
$custom: #1e2486;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2486",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 236.538,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33324,
    "c": 0.15936,
    "h": 271.3
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#1E2486
secondary
#B8B247
accent
#DD41E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2486

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

Preview Lab → · Contrast checker → · Palette generator →

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