#1E3E97#1E3E97

#1E3E97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.151 H 265.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1E3E97
RGBrgb(30, 62, 151)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 80%, 59%)
CMYKcmyk(80.1%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.30, 22.42, -52.05)
CIE-LCHlch(29.30, 56.68, 293.30°)
OKLaboklab(39.88% -0.013 -0.1504)
OKLCHoklch(39.88% 0.151 265.1)
XYZxyz(7.8420, 5.9547, 30.0082)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3E97 #97771E
analogous
#1E7A97 #1E3E97 #3A1E97
triadic
#1E3E97 #971E3E #3E971E
tetradic
#1E3E97 #971E7A #97771E #1E973A
square
#1E3E97 #971E7A #97771E #1E973A
split-complementary
#1E3E97 #973A1E #7A971E
monochromatic
#0A1431 #142964 #1E3E97 #2853CA #5377DD

Accessibility & contrast

On white

9.58
#1E3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1E3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3E97
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3E97#FFFFFF#000000##FFFFFF
##1E3E971.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e3e97;
/* rgb */ color: rgb(30, 62, 151);
/* oklch */ color: oklch(39.9% 0.151 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b6',
    500: '#1e3e97',
    950: '#000000',
  },
}
SCSS
$custom: #1e3e97;
$custom-light: #6e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3e97",
  "rgb": {
    "r": 30,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 224.132,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.15091,
    "h": 265.1
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#1E3E97
secondary
#C0A351
accent
#BC3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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