#1E3786#1E3786

#1E3786 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.136 H 266.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1E3786
RGBrgb(30, 55, 134)
HSLhsl(226, 63%, 32%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(77.6%, 59%, 0%, 47.5%)
CIE-LABlab(25.95, 20.50, -47.02)
CIE-LCHlch(25.95, 51.29, 293.55°)
OKLaboklab(36.92% -0.0087 -0.1357)
OKLCHoklch(36.92% 0.136 266.3)
XYZxyz(6.2032, 4.7289, 23.1355)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3786 #866D1E
analogous
#1E6B86 #1E3786 #391E86
triadic
#1E3786 #861E37 #37861E
tetradic
#1E3786 #861E6B #866D1E #1E8639
square
#1E3786 #861E6B #866D1E #1E8639
split-complementary
#1E3786 #86391E #6B861E
monochromatic
#080E22 #132254 #1E3786 #294CB8 #486AD6

Accessibility & contrast

On white

10.79
#1E3786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E3786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3786
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3786#FFFFFF#000000##FFFFFF
##1E37861.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e3786;
/* rgb */ color: rgb(30, 55, 134);
/* oklch */ color: oklch(36.9% 0.136 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b6daa',
    500: '#1e3786',
    950: '#000000',
  },
}
SCSS
$custom: #1e3786;
$custom-light: #6b6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3786",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 225.577,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.13596,
    "h": 266.3
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#1E3786
secondary
#B89D47
accent
#BF41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3786

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

Preview Lab → · Contrast checker → · Palette generator →

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