#1E3486#1E3486

#1E3486 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.140 H 267.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1E3486
RGBrgb(30, 52, 134)
HSLhsl(227, 63%, 32%)
HSVhsv(227, 78%, 53%)
CMYKcmyk(77.6%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.11, 22.58, -48.38)
CIE-LCHlch(25.11, 53.39, 295.02°)
OKLaboklab(36.3% -0.0064 -0.1397)
OKLCHoklch(36.3% 0.14 267.4)
XYZxyz(6.0650, 4.4526, 23.0894)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3486 #86701E
analogous
#1E6886 #1E3486 #3C1E86
triadic
#1E3486 #861E34 #34861E
tetradic
#1E3486 #861E68 #86701E #1E863C
square
#1E3486 #861E68 #86701E #1E863C
split-complementary
#1E3486 #863C1E #68861E
monochromatic
#080D22 #132154 #1E3486 #2947B8 #4866D6

Accessibility & contrast

On white

11.11
#1E3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3486
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3486#FFFFFF#000000##FFFFFF
##1E34861.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3486;
/* rgb */ color: rgb(30, 52, 134);
/* oklch */ color: oklch(36.3% 0.140 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6baa',
    500: '#1e3486',
    950: '#000000',
  },
}
SCSS
$custom: #1e3486;
$custom-light: #6b6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3486",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 227.308,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.363,
    "c": 0.13987,
    "h": 267.4
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#1E3486
secondary
#B8A047
accent
#C441E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3486

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

Preview Lab → · Contrast checker → · Palette generator →

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