#1E3986#1E3986

#1E3986 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.133 H 265.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1E3986
RGBrgb(30, 57, 134)
HSLhsl(224, 63%, 32%)
HSVhsv(224, 78%, 53%)
CMYKcmyk(77.6%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.51, 19.10, -46.10)
CIE-LCHlch(26.51, 49.90, 292.51°)
OKLaboklab(37.35% -0.0102 -0.133)
OKLCHoklch(37.35% 0.133 265.6)
XYZxyz(6.3001, 4.9228, 23.1678)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3986 #866B1E
analogous
#1E6D86 #1E3986 #371E86
triadic
#1E3986 #861E39 #39861E
tetradic
#1E3986 #861E6D #866B1E #1E8637
square
#1E3986 #861E6D #866B1E #1E8637
split-complementary
#1E3986 #86371E #6D861E
monochromatic
#080E22 #132454 #1E3986 #294EB8 #486DD6

Accessibility & contrast

On white

10.58
#1E3986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E3986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3986
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3986#FFFFFF#000000##FFFFFF
##1E39861.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e3986;
/* rgb */ color: rgb(30, 57, 134);
/* oklch */ color: oklch(37.3% 0.133 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a6eaa',
    500: '#1e3986',
    950: '#000000',
  },
}
SCSS
$custom: #1e3986;
$custom-light: #6a6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3986",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 224.423,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37348,
    "c": 0.13334,
    "h": 265.6
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#1E3986
secondary
#B89B47
accent
#BC41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1E3986

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

Preview Lab → · Contrast checker → · Palette generator →

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