#1E3891#1E3891

#1E3891 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.150 H 266.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1E3891
RGBrgb(30, 56, 145)
HSLhsl(226, 66%, 34%)
HSVhsv(226, 79%, 57%)
CMYKcmyk(79.3%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.15, 24.17, -51.87)
CIE-LCHlch(27.15, 57.23, 294.98°)
OKLaboklab(38.11% -0.0091 -0.1499)
OKLCHoklch(38.11% 0.15 266.5)
XYZxyz(7.0586, 5.1479, 27.4042)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3891 #91771E
analogous
#1E7291 #1E3891 #3E1E91
triadic
#1E3891 #911E38 #38911E
tetradic
#1E3891 #911E72 #91771E #1E913E
square
#1E3891 #911E72 #91771E #1E913E
split-complementary
#1E3891 #913E1E #72911E
monochromatic
#09112C #14245E #1E3891 #284CC4 #4F6EDB

Accessibility & contrast

On white

10.35
#1E3891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1E3891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3891
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3891#FFFFFF#000000##FFFFFF
##1E38911.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e3891;
/* rgb */ color: rgb(30, 56, 145);
/* oklch */ color: oklch(38.1% 0.150 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d6eb2',
    500: '#1e3891',
    950: '#000000',
  },
}
SCSS
$custom: #1e3891;
$custom-light: #6d6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3891",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 226.435,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38113,
    "c": 0.15019,
    "h": 266.5
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#1E3891
secondary
#BDA44D
accent
#C23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3891

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

Preview Lab → · Contrast checker → · Palette generator →

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