#1E4996#1E4996

#1E4996 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.135 H 261.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1E4996
RGBrgb(30, 73, 150)
HSLhsl(219, 67%, 35%)
HSVhsv(219, 80%, 59%)
CMYKcmyk(80%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.35, 14.49, -46.49)
CIE-LCHlch(32.35, 48.70, 287.31°)
OKLaboklab(42.16% -0.0212 -0.1338)
OKLCHoklch(42.16% 0.135 261)
XYZxyz(8.4210, 7.2421, 29.8023)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4996 #966B1E
analogous
#1E8596 #1E4996 #2F1E96
triadic
#1E4996 #961E49 #49961E
tetradic
#1E4996 #961E85 #966B1E #1E962F
square
#1E4996 #961E85 #966B1E #1E962F
split-complementary
#1E4996 #962F1E #85961E
monochromatic
#0A1730 #143063 #1E4996 #2862C9 #5284DC

Accessibility & contrast

On white

8.58
#1E4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1E4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4996
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4996#FFFFFF#000000##FFFFFF
##1E49961.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4996;
/* rgb */ color: rgb(30, 73, 150);
/* oklch */ color: oklch(42.2% 0.135 261.0);
Tailwind
colors: {
  custom: {
    50: '#6e7bb5',
    500: '#1e4996',
    950: '#000000',
  },
}
SCSS
$custom: #1e4996;
$custom-light: #6e7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4996",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 218.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.13547,
    "h": 261
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#1E4996
secondary
#BF9850
accent
#AC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4996

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

Preview Lab → · Contrast checker → · Palette generator →

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