#1E4082#1E4082

#1E4082 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.118 H 262.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1E4082
RGBrgb(30, 64, 130)
HSLhsl(220, 63%, 31%)
HSVhsv(220, 77%, 51%)
CMYKcmyk(76.9%, 50.8%, 0%, 49%)
CIE-LABlab(28.26, 12.61, -40.78)
CIE-LCHlch(28.26, 42.69, 287.19°)
OKLaboklab(38.58% -0.0165 -0.1172)
OKLCHoklch(38.58% 0.118 262)
XYZxyz(6.3966, 5.5538, 21.8496)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4082 #82601E
analogous
#1E7282 #1E4082 #2E1E82
triadic
#1E4082 #821E40 #40821E
tetradic
#1E4082 #821E72 #82601E #1E822E
square
#1E4082 #821E72 #82601E #1E822E
split-complementary
#1E4082 #822E1E #72821E
monochromatic
#070F1F #132850 #1E4082 #2958B4 #4676D4

Accessibility & contrast

On white

9.95
#1E4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4082
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4082#FFFFFF#000000##FFFFFF
##1E40821.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4884
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e4082;
/* rgb */ color: rgb(30, 64, 130);
/* oklch */ color: oklch(38.6% 0.118 262.0);
Tailwind
colors: {
  custom: {
    50: '#6974a7',
    500: '#1e4082',
    950: '#000000',
  },
}
SCSS
$custom: #1e4082;
$custom-light: #6974a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4082",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 219.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.11834,
    "h": 262
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#1E4082
secondary
#B59047
accent
#AE42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4082

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

Preview Lab → · Contrast checker → · Palette generator →

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