#1E3686#1E3686

#1E3686 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.137 H 266.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1E3686
RGBrgb(30, 54, 134)
HSLhsl(226, 63%, 32%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(77.6%, 59.7%, 0%, 47.5%)
CIE-LABlab(25.67, 21.19, -47.48)
CIE-LCHlch(25.67, 51.99, 294.06°)
OKLaboklab(36.71% -0.0079 -0.137)
OKLCHoklch(36.71% 0.137 266.7)
XYZxyz(6.1562, 4.6349, 23.1198)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3686 #866E1E
analogous
#1E6A86 #1E3686 #3A1E86
triadic
#1E3686 #861E36 #36861E
tetradic
#1E3686 #861E6A #866E1E #1E863A
square
#1E3686 #861E6A #866E1E #1E863A
split-complementary
#1E3686 #863A1E #6A861E
monochromatic
#080E22 #132254 #1E3686 #294AB8 #4869D6

Accessibility & contrast

On white

10.90
#1E3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3686
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3686#FFFFFF#000000##FFFFFF
##1E36861.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3686;
/* rgb */ color: rgb(30, 54, 134);
/* oklch */ color: oklch(36.7% 0.137 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b6caa',
    500: '#1e3686',
    950: '#000000',
  },
}
SCSS
$custom: #1e3686;
$custom-light: #6b6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3686",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 226.154,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.13727,
    "h": 266.7
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#1E3686
secondary
#B89E47
accent
#C041E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3686

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

Preview Lab → · Contrast checker → · Palette generator →

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