#1E3387#1E3387

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

Color values

HEX#1E3387
RGBrgb(30, 51, 135)
HSLhsl(228, 64%, 32%)
HSVhsv(228, 78%, 53%)
CMYKcmyk(77.8%, 62.2%, 0%, 47.1%)
CIE-LABlab(24.93, 23.67, -49.31)
CIE-LCHlch(24.93, 54.69, 295.65°)
OKLaboklab(36.19% -0.0057 -0.1424)
OKLCHoklch(36.19% 0.143 267.7)
XYZxyz(6.0909, 4.3923, 23.4438)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3387 #87721E
analogous
#1E6887 #1E3387 #3E1E87
triadic
#1E3387 #871E33 #33871E
tetradic
#1E3387 #871E68 #87721E #1E873E
square
#1E3387 #871E68 #87721E #1E873E
split-complementary
#1E3387 #873E1E #68871E
monochromatic
#080D23 #132055 #1E3387 #2946B9 #4965D7

Accessibility & contrast

On white

11.18
#1E3387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1E3387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3387
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3387#FFFFFF#000000##FFFFFF
##1E33871.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3387;
/* rgb */ color: rgb(30, 51, 135);
/* oklch */ color: oklch(36.2% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6aab',
    500: '#1e3387',
    950: '#000000',
  },
}
SCSS
$custom: #1e3387;
$custom-light: #6b6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3387",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 228,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.14256,
    "h": 267.7
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#1E3387
secondary
#B9A248
accent
#C641E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3387

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

Preview Lab → · Contrast checker → · Palette generator →

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