#1E4580#1E4580

#1E4580 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.109 H 258.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1E4580
RGBrgb(30, 69, 128)
HSLhsl(216, 62%, 31%)
HSVhsv(216, 77%, 50%)
CMYKcmyk(76.6%, 46.1%, 0%, 49.8%)
CIE-LABlab(29.64, 8.36, -37.32)
CIE-LCHlch(29.64, 38.24, 282.63°)
OKLaboklab(39.59% -0.0214 -0.1069)
OKLCHoklch(39.59% 0.109 258.7)
XYZxyz(6.5584, 6.0900, 21.2477)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4580 #80591E
analogous
#1E7680 #1E4580 #281E80
triadic
#1E4580 #801E45 #45801E
tetradic
#1E4580 #801E76 #80591E #1E8028
square
#1E4580 #801E76 #80591E #1E8028
split-complementary
#1E4580 #80281E #76801E
monochromatic
#07101D #122A4E #1E4580 #2A60B2 #457ED3

Accessibility & contrast

On white

9.47
#1E4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1E4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4580
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4580#FFFFFF#000000##FFFFFF
##1E45801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4580;
/* rgb */ color: rgb(30, 69, 128);
/* oklch */ color: oklch(39.6% 0.109 258.7);
Tailwind
colors: {
  custom: {
    50: '#6878a5',
    500: '#1e4580',
    950: '#000000',
  },
}
SCSS
$custom: #1e4580;
$custom-light: #6878a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4580",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 216.122,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.10901,
    "h": 258.7
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#1E4580
secondary
#B38847
accent
#A443E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4580

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

Preview Lab → · Contrast checker → · Palette generator →

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