#1E408A#1E408A

#1E408A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.130 H 263.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1E408A
RGBrgb(30, 64, 138)
HSLhsl(221, 64%, 33%)
HSVhsv(221, 78%, 54%)
CMYKcmyk(78.3%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.84, 15.84, -44.81)
CIE-LCHlch(28.84, 47.52, 289.47°)
OKLaboklab(39.21% -0.0155 -0.129)
OKLCHoklch(39.21% 0.13 263.2)
XYZxyz(6.9546, 5.7770, 24.7884)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408A #8A681E
analogous
#1E768A #1E408A #321E8A
triadic
#1E408A #8A1E40 #408A1E
tetradic
#1E408A #8A1E76 #8A681E #1E8A32
square
#1E408A #8A1E76 #8A681E #1E8A32
split-complementary
#1E408A #8A321E #768A1E
monochromatic
#081125 #132958 #1E408A #2957BC #4B77D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E408A#FFFFFF#000000##FFFFFF
##1E408A1.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)
#0D498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e408a;
/* rgb */ color: rgb(30, 64, 138);
/* oklch */ color: oklch(39.2% 0.130 263.2);
Tailwind
colors: {
  custom: {
    50: '#6b74ad',
    500: '#1e408a',
    950: '#000000',
  },
}
SCSS
$custom: #1e408a;
$custom-light: #6b74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408a",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 221.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.12994,
    "h": 263.2
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#1E408A
secondary
#BA974A
accent
#B341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E408A

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

Preview Lab → · Contrast checker → · Palette generator →

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