#1E3286#1E3286

#1E3286 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.142 H 268.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1E3286
RGBrgb(30, 50, 134)
HSLhsl(228, 63%, 32%)
HSVhsv(228, 78%, 53%)
CMYKcmyk(77.6%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.57, 23.97, -49.27)
CIE-LCHlch(24.57, 54.79, 295.94°)
OKLaboklab(35.89% -0.005 -0.1423)
OKLCHoklch(35.89% 0.142 268)
XYZxyz(5.9776, 4.2778, 23.0603)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3286 #86721E
analogous
#1E6686 #1E3286 #3E1E86
triadic
#1E3286 #861E32 #32861E
tetradic
#1E3286 #861E66 #86721E #1E863E
square
#1E3286 #861E66 #86721E #1E863E
split-complementary
#1E3286 #863E1E #66861E
monochromatic
#080D22 #131F54 #1E3286 #2945B8 #4864D6

Accessibility & contrast

On white

11.32
#1E3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3286
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3286#FFFFFF#000000##FFFFFF
##1E32861.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3286;
/* rgb */ color: rgb(30, 50, 134);
/* oklch */ color: oklch(35.9% 0.142 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b69aa',
    500: '#1e3286',
    950: '#000000',
  },
}
SCSS
$custom: #1e3286;
$custom-light: #6b69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3286",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 228.462,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.14244,
    "h": 268
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#1E3286
secondary
#B8A347
accent
#C741E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3286

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

Preview Lab → · Contrast checker → · Palette generator →

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