#1E4782#1E4782

#1E4782 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.109 H 257.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1E4782
RGBrgb(30, 71, 130)
HSLhsl(215, 63%, 31%)
HSVhsv(215, 77%, 51%)
CMYKcmyk(76.9%, 45.4%, 0%, 49%)
CIE-LABlab(30.38, 7.80, -37.37)
CIE-LCHlch(30.38, 38.17, 281.80°)
OKLaboklab(40.21% -0.0229 -0.107)
OKLCHoklch(40.21% 0.109 257.9)
XYZxyz(6.8165, 6.3934, 21.9896)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4782 #82591E
analogous
#1E7982 #1E4782 #271E82
triadic
#1E4782 #821E47 #47821E
tetradic
#1E4782 #821E79 #82591E #1E8227
square
#1E4782 #821E79 #82591E #1E8227
split-complementary
#1E4782 #82271E #79821E
monochromatic
#07111F #132C50 #1E4782 #2962B4 #4680D4

Accessibility & contrast

On white

9.22
#1E4782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1E4782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4782
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4782#FFFFFF#000000##FFFFFF
##1E47821.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4782;
/* rgb */ color: rgb(30, 71, 130);
/* oklch */ color: oklch(40.2% 0.109 257.9);
Tailwind
colors: {
  custom: {
    50: '#6979a7',
    500: '#1e4782',
    950: '#000000',
  },
}
SCSS
$custom: #1e4782;
$custom-light: #6979a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4782",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 215.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.10942,
    "h": 257.9
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#1E4782
secondary
#B58847
accent
#A342E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4782

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

Preview Lab → · Contrast checker → · Palette generator →

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