#1E4D96#1E4D96

#1E4D96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.130 H 259.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1E4D96
RGBrgb(30, 77, 150)
HSLhsl(217, 67%, 35%)
HSVhsv(217, 80%, 59%)
CMYKcmyk(80%, 48.7%, 0%, 41.2%)
CIE-LABlab(33.53, 11.78, -44.59)
CIE-LCHlch(33.53, 46.12, 284.79°)
OKLaboklab(43.07% -0.0245 -0.1281)
OKLCHoklch(43.07% 0.13 259.2)
XYZxyz(8.6923, 7.7848, 29.8927)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D96 #96671E
analogous
#1E8996 #1E4D96 #2B1E96
triadic
#1E4D96 #961E4D #4D961E
tetradic
#1E4D96 #961E89 #96671E #1E962B
square
#1E4D96 #961E89 #96671E #1E962B
split-complementary
#1E4D96 #962B1E #89961E
monochromatic
#0A1930 #143363 #1E4D96 #2867C9 #5288DC

Accessibility & contrast

On white

8.21
#1E4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E4D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D96
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D96#FFFFFF#000000##FFFFFF
##1E4D961.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4d96;
/* rgb */ color: rgb(30, 77, 150);
/* oklch */ color: oklch(43.1% 0.130 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7eb5',
    500: '#1e4d96',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d96;
$custom-light: #6d7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d96",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 216.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.13043,
    "h": 259.2
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#1E4D96
secondary
#BF9450
accent
#A63EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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