#1E4DA1#1E4DA1

#1E4DA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.146 H 261.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1E4DA1
RGBrgb(30, 77, 161)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 81%, 63%)
CMYKcmyk(81.4%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.31, 16.18, -49.98)
CIE-LCHlch(34.31, 52.53, 287.94°)
OKLaboklab(43.91% -0.0229 -0.144)
OKLCHoklch(43.91% 0.146 261)
XYZxyz(9.6200, 8.1558, 34.7785)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4DA1 #A1721E
analogous
#1E8FA1 #1E4DA1 #301EA1
triadic
#1E4DA1 #A11E4D #4DA11E
tetradic
#1E4DA1 #A11E8F #A1721E #1EA130
square
#1E4DA1 #A11E8F #A1721E #1EA130
split-complementary
#1E4DA1 #A1301E #8FA11E
monochromatic
#0B1C3A #14346D #1E4DA1 #2866D5 #598AE0

Accessibility & contrast

On white

7.98
#1E4DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1E4DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4DA1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4DA1#FFFFFF#000000##FFFFFF
##1E4DA11.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4da1;
/* rgb */ color: rgb(30, 77, 161);
/* oklch */ color: oklch(43.9% 0.146 261.0);
Tailwind
colors: {
  custom: {
    50: '#707ebd',
    500: '#1e4da1',
    950: '#000000',
  },
}
SCSS
$custom: #1e4da1;
$custom-light: #707ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4da1",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 218.473,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.14579,
    "h": 261
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#1E4DA1
secondary
#C49D57
accent
#AD3CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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