#1E4480#1E4480

#1E4480 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.110 H 259.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1E4480
RGBrgb(30, 68, 128)
HSLhsl(217, 62%, 31%)
HSVhsv(217, 77%, 50%)
CMYKcmyk(76.6%, 46.9%, 0%, 49.8%)
CIE-LABlab(29.33, 9.05, -37.81)
CIE-LCHlch(29.33, 38.88, 283.46°)
OKLaboklab(39.36% -0.0205 -0.1083)
OKLCHoklch(39.36% 0.11 259.3)
XYZxyz(6.4974, 5.9681, 21.2274)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4480 #805A1E
analogous
#1E7580 #1E4480 #291E80
triadic
#1E4480 #801E44 #44801E
tetradic
#1E4480 #801E75 #805A1E #1E8029
square
#1E4480 #801E75 #805A1E #1E8029
split-complementary
#1E4480 #80291E #75801E
monochromatic
#070F1D #122A4E #1E4480 #2A5EB2 #457CD3

Accessibility & contrast

On white

9.57
#1E4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1E4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4480
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4480#FFFFFF#000000##FFFFFF
##1E44801.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#10417F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4480;
/* rgb */ color: rgb(30, 68, 128);
/* oklch */ color: oklch(39.4% 0.110 259.3);
Tailwind
colors: {
  custom: {
    50: '#6877a5',
    500: '#1e4480',
    950: '#000000',
  },
}
SCSS
$custom: #1e4480;
$custom-light: #6877a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4480",
  "rgb": {
    "r": 30,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 216.735,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.11028,
    "h": 259.3
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#1E4480
secondary
#B38947
accent
#A643E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4480

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

Preview Lab → · Contrast checker → · Palette generator →

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