#1E4E93#1E4E93

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

Color values

HEX#1E4E93
RGBrgb(30, 78, 147)
HSLhsl(215, 66%, 35%)
HSVhsv(215, 80%, 58%)
CMYKcmyk(79.6%, 46.9%, 0%, 42.4%)
CIE-LABlab(33.63, 9.90, -42.61)
CIE-LCHlch(33.63, 43.75, 283.08°)
OKLaboklab(43.08% -0.0259 -0.1223)
OKLCHoklch(43.08% 0.125 258.1)
XYZxyz(8.5243, 7.8304, 28.6603)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E93 #93631E
analogous
#1E8893 #1E4E93 #291E93
triadic
#1E4E93 #931E4E #4E931E
tetradic
#1E4E93 #931E88 #93631E #1E9329
square
#1E4E93 #931E88 #93631E #1E9329
split-complementary
#1E4E93 #93291E #88931E
monochromatic
#09182D #143360 #1E4E93 #2869C6 #5089DB

Accessibility & contrast

On white

8.18
#1E4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E93
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E93#FFFFFF#000000##FFFFFF
##1E4E931.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#0C4A92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4e93;
/* rgb */ color: rgb(30, 78, 147);
/* oklch */ color: oklch(43.1% 0.125 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb3',
    500: '#1e4e93',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e93;
$custom-light: #6d7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e93",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 215.385,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.12498,
    "h": 258.1
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#1E4E93
secondary
#BE904F
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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