#1E4C96#1E4C96

#1E4C96 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.132 H 259.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1E4C96
RGBrgb(30, 76, 150)
HSLhsl(217, 67%, 35%)
HSVhsv(217, 80%, 59%)
CMYKcmyk(80%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.23, 12.45, -45.07)
CIE-LCHlch(33.23, 46.75, 285.45°)
OKLaboklab(42.84% -0.0237 -0.1295)
OKLCHoklch(42.84% 0.132 259.6)
XYZxyz(8.6229, 7.6459, 29.8696)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C96 #96681E
analogous
#1E8896 #1E4C96 #2C1E96
triadic
#1E4C96 #961E4C #4C961E
tetradic
#1E4C96 #961E88 #96681E #1E962C
square
#1E4C96 #961E88 #96681E #1E962C
split-complementary
#1E4C96 #962C1E #88961E
monochromatic
#0A1830 #143263 #1E4C96 #2866C9 #5287DC

Accessibility & contrast

On white

8.30
#1E4C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C96
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C96#FFFFFF#000000##FFFFFF
##1E4C961.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4c96;
/* rgb */ color: rgb(30, 76, 150);
/* oklch */ color: oklch(42.8% 0.132 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7db5',
    500: '#1e4c96',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c96;
$custom-light: #6d7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c96",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 217,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4284,
    "c": 0.13168,
    "h": 259.6
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#1E4C96
secondary
#BF9550
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4C96

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

Preview Lab → · Contrast checker → · Palette generator →

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