#1E3A97#1E3A97

#1E3A97 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.156 H 266.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1E3A97
RGBrgb(30, 58, 151)
HSLhsl(226, 67%, 35%)
HSVhsv(226, 80%, 59%)
CMYKcmyk(80.1%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.21, 25.16, -53.83)
CIE-LCHlch(28.21, 59.42, 295.05°)
OKLaboklab(39.06% -0.0103 -0.1556)
OKLCHoklch(39.06% 0.156 266.2)
XYZxyz(7.6324, 5.5356, 29.9384)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3A97 #977B1E
analogous
#1E7697 #1E3A97 #3F1E97
triadic
#1E3A97 #971E3A #3A971E
tetradic
#1E3A97 #971E76 #977B1E #1E973F
square
#1E3A97 #971E76 #977B1E #1E973F
split-complementary
#1E3A97 #973F1E #76971E
monochromatic
#0A1331 #142664 #1E3A97 #284ECA #5373DD

Accessibility & contrast

On white

9.97
#1E3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E3A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3A97
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3A97#FFFFFF#000000##FFFFFF
##1E3A971.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3a97;
/* rgb */ color: rgb(30, 58, 151);
/* oklch */ color: oklch(39.1% 0.156 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f6fb6',
    500: '#1e3a97',
    950: '#000000',
  },
}
SCSS
$custom: #1e3a97;
$custom-light: #6f6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3a97",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 226.116,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.15597,
    "h": 266.2
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#1E3A97
secondary
#C0A651
accent
#C23EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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