#1E3487#1E3487

#1E3487 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.141 H 267.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1E3487
RGBrgb(30, 52, 135)
HSLhsl(227, 64%, 32%)
HSVhsv(227, 78%, 53%)
CMYKcmyk(77.8%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.20, 22.98, -48.86)
CIE-LCHlch(25.20, 54.00, 295.19°)
OKLaboklab(36.39% -0.0064 -0.1411)
OKLCHoklch(36.39% 0.141 267.4)
XYZxyz(6.1351, 4.4806, 23.4585)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3487 #87711E
analogous
#1E6887 #1E3487 #3D1E87
triadic
#1E3487 #871E34 #34871E
tetradic
#1E3487 #871E68 #87711E #1E873D
square
#1E3487 #871E68 #87711E #1E873D
split-complementary
#1E3487 #873D1E #68871E
monochromatic
#080D23 #132155 #1E3487 #2947B9 #4967D7

Accessibility & contrast

On white

11.07
#1E3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3487
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3487#FFFFFF#000000##FFFFFF
##1E34871.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3487;
/* rgb */ color: rgb(30, 52, 135);
/* oklch */ color: oklch(36.4% 0.141 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6bab',
    500: '#1e3487',
    950: '#000000',
  },
}
SCSS
$custom: #1e3487;
$custom-light: #6b6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3487",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 227.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.14129,
    "h": 267.4
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#1E3487
secondary
#B9A148
accent
#C441E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3487

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

Preview Lab → · Contrast checker → · Palette generator →

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