#1E4C91#1E4C91

#1E4C91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.125 H 258.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1E4C91
RGBrgb(30, 76, 145)
HSLhsl(216, 66%, 34%)
HSVhsv(216, 79%, 57%)
CMYKcmyk(79.3%, 47.6%, 0%, 43.1%)
CIE-LABlab(32.89, 10.44, -42.57)
CIE-LCHlch(32.89, 43.83, 283.78°)
OKLaboklab(42.47% -0.0245 -0.1222)
OKLCHoklch(42.47% 0.125 258.7)
XYZxyz(8.2288, 7.4883, 27.7943)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C91 #91631E
analogous
#1E8691 #1E4C91 #2A1E91
triadic
#1E4C91 #911E4C #4C911E
tetradic
#1E4C91 #911E86 #91631E #1E912A
square
#1E4C91 #911E86 #91631E #1E912A
split-complementary
#1E4C91 #912A1E #86911E
monochromatic
#09172C #14315E #1E4C91 #2867C4 #4F87DB

Accessibility & contrast

On white

8.41
#1E4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1E4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C91
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C91#FFFFFF#000000##FFFFFF
##1E4C911.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#084890
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4c91;
/* rgb */ color: rgb(30, 76, 145);
/* oklch */ color: oklch(42.5% 0.125 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7db2',
    500: '#1e4c91',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c91;
$custom-light: #6c7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c91",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 216,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42468,
    "c": 0.12463,
    "h": 258.7
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#1E4C91
secondary
#BD914D
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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