#1E4E94#1E4E94

#1E4E94 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.1% C 0.126 H 258.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1E4E94
RGBrgb(30, 78, 148)
HSLhsl(216, 66%, 35%)
HSVhsv(216, 80%, 58%)
CMYKcmyk(79.7%, 47.3%, 0%, 42%)
CIE-LABlab(33.69, 10.30, -43.11)
CIE-LCHlch(33.69, 44.33, 283.44°)
OKLaboklab(43.15% -0.0257 -0.1237)
OKLCHoklch(43.15% 0.126 258.3)
XYZxyz(8.6031, 7.8619, 29.0753)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E94 #94641E
analogous
#1E8994 #1E4E94 #291E94
triadic
#1E4E94 #941E4E #4E941E
tetradic
#1E4E94 #941E89 #94641E #1E9429
square
#1E4E94 #941E89 #94641E #1E9429
split-complementary
#1E4E94 #94291E #89941E
monochromatic
#09182E #143361 #1E4E94 #2869C7 #5189DC

Accessibility & contrast

On white

8.16
#1E4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1E4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E94
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E94#FFFFFF#000000##FFFFFF
##1E4E941.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#094A93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4e94;
/* rgb */ color: rgb(30, 78, 148);
/* oklch */ color: oklch(43.1% 0.126 258.3);
Tailwind
colors: {
  custom: {
    50: '#6d7fb4',
    500: '#1e4e94',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e94;
$custom-light: #6d7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e94",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 215.593,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.12638,
    "h": 258.3
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#1E4E94
secondary
#BF914F
accent
#A43FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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