#1E3188#1E3188

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

Color values

HEX#1E3188
RGBrgb(30, 49, 136)
HSLhsl(229, 64%, 33%)
HSVhsv(229, 78%, 53%)
CMYKcmyk(77.9%, 64%, 0%, 46.7%)
CIE-LABlab(24.48, 25.44, -50.66)
CIE-LCHlch(24.48, 56.69, 296.66°)
OKLaboklab(35.88% -0.0043 -0.1465)
OKLCHoklch(35.88% 0.147 268.3)
XYZxyz(6.0761, 4.2496, 23.7878)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3188 #88751E
analogous
#1E6688 #1E3188 #401E88
triadic
#1E3188 #881E31 #31881E
tetradic
#1E3188 #881E66 #88751E #1E8840
square
#1E3188 #881E66 #88751E #1E8840
split-complementary
#1E3188 #88401E #66881E
monochromatic
#080D24 #131F56 #1E3188 #2943BA #4963D7

Accessibility & contrast

On white

11.35
#1E3188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E3188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3188
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3188#FFFFFF#000000##FFFFFF
##1E31881.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3188;
/* rgb */ color: rgb(30, 49, 136);
/* oklch */ color: oklch(35.9% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c68ac',
    500: '#1e3188',
    950: '#000000',
  },
}
SCSS
$custom: #1e3188;
$custom-light: #6c68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3188",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 229.245,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35884,
    "c": 0.14652,
    "h": 268.3
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#1E3188
secondary
#B9A549
accent
#C941E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E3188

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

Preview Lab → · Contrast checker → · Palette generator →

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