#1E3A87#1E3A87

#1E3A87 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.133 H 265.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1E3A87
RGBrgb(30, 58, 135)
HSLhsl(224, 64%, 32%)
HSVhsv(224, 78%, 53%)
CMYKcmyk(77.8%, 57%, 0%, 47.1%)
CIE-LABlab(26.88, 18.81, -46.13)
CIE-LCHlch(26.88, 49.82, 292.18°)
OKLaboklab(37.65% -0.0109 -0.133)
OKLCHoklch(37.65% 0.133 265.3)
XYZxyz(6.4201, 5.0507, 23.5535)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3A87 #876B1E
analogous
#1E6F87 #1E3A87 #371E87
triadic
#1E3A87 #871E3A #3A871E
tetradic
#1E3A87 #871E6F #876B1E #1E8737
square
#1E3A87 #871E6F #876B1E #1E8737
split-complementary
#1E3A87 #87371E #6F871E
monochromatic
#080F23 #132455 #1E3A87 #2950B9 #496FD7

Accessibility & contrast

On white

10.45
#1E3A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E3A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3A87
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3A87#FFFFFF#000000##FFFFFF
##1E3A871.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e3a87;
/* rgb */ color: rgb(30, 58, 135);
/* oklch */ color: oklch(37.6% 0.133 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6fab',
    500: '#1e3a87',
    950: '#000000',
  },
}
SCSS
$custom: #1e3a87;
$custom-light: #6b6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3a87",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 224,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37649,
    "c": 0.13347,
    "h": 265.3
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#1E3A87
secondary
#B99B48
accent
#BB41E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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