#1E3887#1E3887

#1E3887 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.136 H 266.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1E3887
RGBrgb(30, 56, 135)
HSLhsl(225, 64%, 32%)
HSVhsv(225, 78%, 53%)
CMYKcmyk(77.8%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.31, 20.20, -47.05)
CIE-LCHlch(26.31, 51.20, 293.23°)
OKLaboklab(37.22% -0.0094 -0.1358)
OKLCHoklch(37.22% 0.136 266)
XYZxyz(6.3212, 4.8529, 23.5205)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3887 #876D1E
analogous
#1E6C87 #1E3887 #391E87
triadic
#1E3887 #871E38 #38871E
tetradic
#1E3887 #871E6C #876D1E #1E8739
square
#1E3887 #871E6C #876D1E #1E8739
split-complementary
#1E3887 #87391E #6C871E
monochromatic
#080E23 #132355 #1E3887 #294DB9 #496CD7

Accessibility & contrast

On white

10.66
#1E3887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E3887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3887
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3887#FFFFFF#000000##FFFFFF
##1E38871.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3887;
/* rgb */ color: rgb(30, 56, 135);
/* oklch */ color: oklch(37.2% 0.136 266.0);
Tailwind
colors: {
  custom: {
    50: '#6b6eab',
    500: '#1e3887',
    950: '#000000',
  },
}
SCSS
$custom: #1e3887;
$custom-light: #6b6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3887",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 225.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.13609,
    "h": 266
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#1E3887
secondary
#B99D48
accent
#BE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3887

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

Preview Lab → · Contrast checker → · Palette generator →

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