#1E4F96#1E4F96

#1E4F96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.5% C 0.128 H 258.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1E4F96
RGBrgb(30, 79, 150)
HSLhsl(216, 67%, 35%)
HSVhsv(216, 80%, 59%)
CMYKcmyk(80%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.13, 10.43, -43.63)
CIE-LCHlch(34.13, 44.86, 283.44°)
OKLaboklab(43.53% -0.0262 -0.1252)
OKLCHoklch(43.53% 0.128 258.2)
XYZxyz(8.8344, 8.0690, 29.9401)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F96 #96651E
analogous
#1E8B96 #1E4F96 #291E96
triadic
#1E4F96 #961E4F #4F961E
tetradic
#1E4F96 #961E8B #96651E #1E9629
square
#1E4F96 #961E8B #96651E #1E9629
split-complementary
#1E4F96 #96291E #8B961E
monochromatic
#0A1930 #143463 #1E4F96 #286AC9 #528BDC

Accessibility & contrast

On white

8.03
#1E4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1E4F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F96
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F96#FFFFFF#000000##FFFFFF
##1E4F961.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#084B95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4f96;
/* rgb */ color: rgb(30, 79, 150);
/* oklch */ color: oklch(43.5% 0.128 258.2);
Tailwind
colors: {
  custom: {
    50: '#6d7fb5',
    500: '#1e4f96',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f96;
$custom-light: #6d7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f96",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 215.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43526,
    "c": 0.12795,
    "h": 258.2
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#1E4F96
secondary
#BF9250
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F96

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

Preview Lab → · Contrast checker → · Palette generator →

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