#1E2886#1E2886

#1E2886 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.155 H 270.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1E2886
RGBrgb(30, 40, 134)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 78%, 53%)
CMYKcmyk(77.6%, 70.1%, 0%, 47.5%)
CIE-LABlab(22.00, 30.74, -53.49)
CIE-LCHlch(22.00, 61.69, 299.88°)
OKLaboklab(34.01% 0.0014 -0.1548)
OKLCHoklch(34.01% 0.155 270.5)
XYZxyz(5.5958, 3.5142, 22.9330)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2886 #867C1E
analogous
#1E5C86 #1E2886 #481E86
triadic
#1E2886 #861E28 #28861E
tetradic
#1E2886 #861E5C #867C1E #1E8648
square
#1E2886 #861E5C #867C1E #1E8648
split-complementary
#1E2886 #86481E #5C861E
monochromatic
#080A22 #131954 #1E2886 #2937B8 #4856D6

Accessibility & contrast

On white

12.33
#1E2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2886
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2886#FFFFFF#000000##FFFFFF
##1E28861.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2886;
/* rgb */ color: rgb(30, 40, 134);
/* oklch */ color: oklch(34.0% 0.155 270.5);
Tailwind
colors: {
  custom: {
    50: '#6c62aa',
    500: '#1e2886',
    950: '#000000',
  },
}
SCSS
$custom: #1e2886;
$custom-light: #6c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2886",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 234.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.15479,
    "h": 270.5
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#1E2886
secondary
#B8AD47
accent
#D741E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2886

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

Preview Lab → · Contrast checker → · Palette generator →

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