#1E408B#1E408B

#1E408B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.131 H 263.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1E408B
RGBrgb(30, 64, 139)
HSLhsl(221, 64%, 33%)
HSVhsv(221, 78%, 55%)
CMYKcmyk(78.4%, 54%, 0%, 45.5%)
CIE-LABlab(28.92, 16.24, -45.30)
CIE-LCHlch(28.92, 48.13, 289.73°)
OKLaboklab(39.29% -0.0154 -0.1305)
OKLCHoklch(39.29% 0.131 263.3)
XYZxyz(7.0274, 5.8061, 25.1714)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408B #8B691E
analogous
#1E768B #1E408B #321E8B
triadic
#1E408B #8B1E40 #408B1E
tetradic
#1E408B #8B1E76 #8B691E #1E8B32
square
#1E408B #8B1E76 #8B691E #1E8B32
split-complementary
#1E408B #8B321E #768B1E
monochromatic
#081226 #132959 #1E408B #2957BD #4B77D8

Accessibility & contrast

On white

9.72
#1E408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E408B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E408B#FFFFFF#000000##FFFFFF
##1E408B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e408b;
/* rgb */ color: rgb(30, 64, 139);
/* oklch */ color: oklch(39.3% 0.131 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b74ad',
    500: '#1e408b',
    950: '#000000',
  },
}
SCSS
$custom: #1e408b;
$custom-light: #6b74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408b",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 221.284,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.13137,
    "h": 263.3
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#1E408B
secondary
#BB984A
accent
#B340E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E408B

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

Preview Lab → · Contrast checker → · Palette generator →

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