#1E4D97#1E4D97

#1E4D97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.132 H 259.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1E4D97
RGBrgb(30, 77, 151)
HSLhsl(217, 67%, 35%)
HSVhsv(217, 80%, 59%)
CMYKcmyk(80.1%, 49%, 0%, 40.8%)
CIE-LABlab(33.60, 12.18, -45.09)
CIE-LCHlch(33.60, 46.70, 285.11°)
OKLaboklab(43.14% -0.0243 -0.1296)
OKLCHoklch(43.14% 0.132 259.4)
XYZxyz(8.7732, 7.8171, 30.3186)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D97 #97681E
analogous
#1E8997 #1E4D97 #2B1E97
triadic
#1E4D97 #971E4D #4D971E
tetradic
#1E4D97 #971E89 #97681E #1E972B
square
#1E4D97 #971E89 #97681E #1E972B
split-complementary
#1E4D97 #972B1E #89971E
monochromatic
#0A1931 #143364 #1E4D97 #2867CA #5388DD

Accessibility & contrast

On white

8.19
#1E4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D97
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D97#FFFFFF#000000##FFFFFF
##1E4D971.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d97;
/* rgb */ color: rgb(30, 77, 151);
/* oklch */ color: oklch(43.1% 0.132 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7eb6',
    500: '#1e4d97',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d97;
$custom-light: #6e7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d97",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 216.694,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.13183,
    "h": 259.4
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#1E4D97
secondary
#C09551
accent
#A73EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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