#1E4182#1E4182

#1E4182 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.117 H 261.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1E4182
RGBrgb(30, 65, 130)
HSLhsl(219, 63%, 31%)
HSVhsv(219, 77%, 51%)
CMYKcmyk(76.9%, 50%, 0%, 49%)
CIE-LABlab(28.56, 11.92, -40.30)
CIE-LCHlch(28.56, 42.03, 286.48°)
OKLaboklab(38.81% -0.0174 -0.1157)
OKLCHoklch(38.81% 0.117 261.4)
XYZxyz(6.4535, 5.6676, 21.8686)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4182 #825F1E
analogous
#1E7382 #1E4182 #2D1E82
triadic
#1E4182 #821E41 #41821E
tetradic
#1E4182 #821E73 #825F1E #1E822D
square
#1E4182 #821E73 #825F1E #1E822D
split-complementary
#1E4182 #822D1E #73821E
monochromatic
#070F1F #132850 #1E4182 #295AB4 #4678D4

Accessibility & contrast

On white

9.84
#1E4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4182
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4182#FFFFFF#000000##FFFFFF
##1E41821.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e4182;
/* rgb */ color: rgb(30, 65, 130);
/* oklch */ color: oklch(38.8% 0.117 261.4);
Tailwind
colors: {
  custom: {
    50: '#6975a7',
    500: '#1e4182',
    950: '#000000',
  },
}
SCSS
$custom: #1e4182;
$custom-light: #6975a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4182",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 219,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.11703,
    "h": 261.4
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#1E4182
secondary
#B58E47
accent
#AC42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4182

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

Preview Lab → · Contrast checker → · Palette generator →

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