#1E4282#1E4282

#1E4282 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.116 H 260.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1E4282
RGBrgb(30, 66, 130)
HSLhsl(218, 63%, 31%)
HSVhsv(218, 77%, 51%)
CMYKcmyk(76.9%, 49.2%, 0%, 49%)
CIE-LABlab(28.86, 11.23, -39.82)
CIE-LCHlch(28.86, 41.37, 285.75°)
OKLaboklab(39.04% -0.0183 -0.1143)
OKLCHoklch(39.04% 0.116 260.9)
XYZxyz(6.5114, 5.7834, 21.8879)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4282 #825E1E
analogous
#1E7482 #1E4282 #2C1E82
triadic
#1E4282 #821E42 #42821E
tetradic
#1E4282 #821E74 #825E1E #1E822C
square
#1E4282 #821E74 #825E1E #1E822C
split-complementary
#1E4282 #822C1E #74821E
monochromatic
#07101F #132950 #1E4282 #295BB4 #4679D4

Accessibility & contrast

On white

9.74
#1E4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1E4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4282
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4282#FFFFFF#000000##FFFFFF
##1E42821.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#034081
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4282;
/* rgb */ color: rgb(30, 66, 130);
/* oklch */ color: oklch(39.0% 0.116 260.9);
Tailwind
colors: {
  custom: {
    50: '#6975a7',
    500: '#1e4282',
    950: '#000000',
  },
}
SCSS
$custom: #1e4282;
$custom-light: #6975a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4282",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 218.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.11575,
    "h": 260.9
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#1E4282
secondary
#B58D47
accent
#AB42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4282

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

Preview Lab → · Contrast checker → · Palette generator →

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