#1E3386#1E3386

#1E3386 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.141 H 267.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E3386
RGBrgb(30, 51, 134)
HSLhsl(228, 63%, 32%)
HSVhsv(228, 78%, 53%)
CMYKcmyk(77.6%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.84, 23.28, -48.83)
CIE-LCHlch(24.84, 54.09, 295.49°)
OKLaboklab(36.1% -0.0057 -0.141)
OKLCHoklch(36.1% 0.141 267.7)
XYZxyz(6.0208, 4.3642, 23.0747)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3386 #86711E
analogous
#1E6786 #1E3386 #3D1E86
triadic
#1E3386 #861E33 #33861E
tetradic
#1E3386 #861E67 #86711E #1E863D
square
#1E3386 #861E67 #86711E #1E863D
split-complementary
#1E3386 #863D1E #67861E
monochromatic
#080D22 #132054 #1E3386 #2946B8 #4865D6

Accessibility & contrast

On white

11.21
#1E3386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E3386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3386
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3386#FFFFFF#000000##FFFFFF
##1E33861.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3386;
/* rgb */ color: rgb(30, 51, 134);
/* oklch */ color: oklch(36.1% 0.141 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6aaa',
    500: '#1e3386',
    950: '#000000',
  },
}
SCSS
$custom: #1e3386;
$custom-light: #6b6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3386",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 227.885,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.14116,
    "h": 267.7
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#1E3386
secondary
#B8A247
accent
#C541E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3386

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

Preview Lab → · Contrast checker → · Palette generator →

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