#1E4582#1E4582

#1E4582 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.112 H 259.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1E4582
RGBrgb(30, 69, 130)
HSLhsl(217, 63%, 31%)
HSVhsv(217, 77%, 51%)
CMYKcmyk(76.9%, 46.9%, 0%, 49%)
CIE-LABlab(29.77, 9.17, -38.35)
CIE-LCHlch(29.77, 39.43, 283.44°)
OKLaboklab(39.74% -0.0211 -0.1099)
OKLCHoklch(39.74% 0.112 259.2)
XYZxyz(6.6913, 6.1432, 21.9479)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4582 #825B1E
analogous
#1E7782 #1E4582 #291E82
triadic
#1E4582 #821E45 #45821E
tetradic
#1E4582 #821E77 #825B1E #1E8229
square
#1E4582 #821E77 #825B1E #1E8229
split-complementary
#1E4582 #82291E #77821E
monochromatic
#07101F #132B50 #1E4582 #295FB4 #467ED4

Accessibility & contrast

On white

9.42
#1E4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1E4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4582
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4582#FFFFFF#000000##FFFFFF
##1E45821.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4582;
/* rgb */ color: rgb(30, 69, 130);
/* oklch */ color: oklch(39.7% 0.112 259.2);
Tailwind
colors: {
  custom: {
    50: '#6978a7',
    500: '#1e4582',
    950: '#000000',
  },
}
SCSS
$custom: #1e4582;
$custom-light: #6978a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4582",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 216.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39739,
    "c": 0.11192,
    "h": 259.2
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#1E4582
secondary
#B58A47
accent
#A642E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4582

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

Preview Lab → · Contrast checker → · Palette generator →

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