#1E4791#1E4791

#1E4791 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.131 H 261.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1E4791
RGBrgb(30, 71, 145)
HSLhsl(219, 66%, 34%)
HSVhsv(219, 79%, 57%)
CMYKcmyk(79.3%, 51%, 0%, 43.1%)
CIE-LABlab(31.41, 13.84, -44.97)
CIE-LCHlch(31.41, 47.05, 287.11°)
OKLaboklab(41.33% -0.0203 -0.1293)
OKLCHoklch(41.33% 0.131 261.1)
XYZxyz(7.8976, 6.8259, 27.6839)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4791 #91681E
analogous
#1E8191 #1E4791 #2F1E91
triadic
#1E4791 #911E47 #47911E
tetradic
#1E4791 #911E81 #91681E #1E912F
square
#1E4791 #911E81 #91681E #1E912F
split-complementary
#1E4791 #912F1E #81911E
monochromatic
#09152C #142E5E #1E4791 #2860C4 #4F81DB

Accessibility & contrast

On white

8.88
#1E4791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1E4791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4791
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4791#FFFFFF#000000##FFFFFF
##1E47911.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F94
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4791;
/* rgb */ color: rgb(30, 71, 145);
/* oklch */ color: oklch(41.3% 0.131 261.1);
Tailwind
colors: {
  custom: {
    50: '#6c79b2',
    500: '#1e4791',
    950: '#000000',
  },
}
SCSS
$custom: #1e4791;
$custom-light: #6c79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4791",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 218.609,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.13093,
    "h": 261.1
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#1E4791
secondary
#BD954D
accent
#AC3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4791

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

Preview Lab → · Contrast checker → · Palette generator →

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