#1E4793#1E4793

#1E4793 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.134 H 261.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1E4793
RGBrgb(30, 71, 147)
HSLhsl(219, 66%, 35%)
HSVhsv(219, 80%, 58%)
CMYKcmyk(79.6%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.55, 14.65, -45.96)
CIE-LCHlch(31.55, 48.23, 287.68°)
OKLaboklab(41.48% -0.02 -0.1323)
OKLCHoklch(41.48% 0.134 261.4)
XYZxyz(8.0532, 6.8881, 28.5032)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4793 #936A1E
analogous
#1E8293 #1E4793 #2F1E93
triadic
#1E4793 #931E47 #47931E
tetradic
#1E4793 #931E82 #936A1E #1E932F
square
#1E4793 #931E82 #936A1E #1E932F
split-complementary
#1E4793 #932F1E #82931E
monochromatic
#09162D #142E60 #1E4793 #2860C6 #5081DB

Accessibility & contrast

On white

8.83
#1E4793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1E4793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4793
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4793#FFFFFF#000000##FFFFFF
##1E47931.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4793;
/* rgb */ color: rgb(30, 71, 147);
/* oklch */ color: oklch(41.5% 0.134 261.4);
Tailwind
colors: {
  custom: {
    50: '#6d79b3',
    500: '#1e4793',
    950: '#000000',
  },
}
SCSS
$custom: #1e4793;
$custom-light: #6d79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4793",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 218.974,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.13377,
    "h": 261.4
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#1E4793
secondary
#BE974F
accent
#AD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4793

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

Preview Lab → · Contrast checker → · Palette generator →

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