#1E3388#1E3388

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

Color values

HEX#1E3388
RGBrgb(30, 51, 136)
HSLhsl(228, 64%, 33%)
HSVhsv(228, 78%, 53%)
CMYKcmyk(77.9%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.02, 24.07, -49.79)
CIE-LCHlch(25.02, 55.30, 295.80°)
OKLaboklab(36.28% -0.0057 -0.1439)
OKLCHoklch(36.28% 0.144 267.7)
XYZxyz(6.1616, 4.4206, 23.8163)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3388 #88731E
analogous
#1E6888 #1E3388 #3E1E88
triadic
#1E3388 #881E33 #33881E
tetradic
#1E3388 #881E68 #88731E #1E883E
square
#1E3388 #881E68 #88731E #1E883E
split-complementary
#1E3388 #883E1E #68881E
monochromatic
#080D24 #132056 #1E3388 #2946BA #4965D7

Accessibility & contrast

On white

11.15
#1E3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3388
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3388#FFFFFF#000000##FFFFFF
##1E33881.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3388;
/* rgb */ color: rgb(30, 51, 136);
/* oklch */ color: oklch(36.3% 0.144 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6aab',
    500: '#1e3388',
    950: '#000000',
  },
}
SCSS
$custom: #1e3388;
$custom-light: #6b6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3388",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 228.113,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.14397,
    "h": 267.7
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E3388

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

Preview Lab → · Contrast checker → · Palette generator →

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