#1E2986#1E2986

#1E2986 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.154 H 270.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1E2986
RGBrgb(30, 41, 134)
HSLhsl(234, 63%, 32%)
HSVhsv(234, 78%, 53%)
CMYKcmyk(77.6%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.24, 30.08, -53.08)
CIE-LCHlch(22.24, 61.01, 299.54°)
OKLaboklab(34.18% 0.0008 -0.1536)
OKLCHoklch(34.18% 0.154 270.3)
XYZxyz(5.6300, 3.5825, 22.9444)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2986 #867B1E
analogous
#1E5D86 #1E2986 #471E86
triadic
#1E2986 #861E29 #29861E
tetradic
#1E2986 #861E5D #867B1E #1E8647
square
#1E2986 #861E5D #867B1E #1E8647
split-complementary
#1E2986 #86471E #5D861E
monochromatic
#080A22 #131A54 #1E2986 #2938B8 #4857D6

Accessibility & contrast

On white

12.23
#1E2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2986
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2986#FFFFFF#000000##FFFFFF
##1E29861.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2986;
/* rgb */ color: rgb(30, 41, 134);
/* oklch */ color: oklch(34.2% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c63aa',
    500: '#1e2986',
    950: '#000000',
  },
}
SCSS
$custom: #1e2986;
$custom-light: #6c63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2986",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 233.654,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34183,
    "c": 0.1536,
    "h": 270.3
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#1E2986
secondary
#B8AC47
accent
#D541E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2986

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

Preview Lab → · Contrast checker → · Palette generator →

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