#1E408D#1E408D

#1E408D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.134 H 263.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1E408D
RGBrgb(30, 64, 141)
HSLhsl(222, 65%, 34%)
HSVhsv(222, 79%, 55%)
CMYKcmyk(78.7%, 54.6%, 0%, 44.7%)
CIE-LABlab(29.07, 17.05, -46.29)
CIE-LCHlch(29.07, 49.33, 290.22°)
OKLaboklab(39.45% -0.0152 -0.1334)
OKLCHoklch(39.45% 0.134 263.5)
XYZxyz(7.1748, 5.8651, 25.9481)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408D #8D6B1E
analogous
#1E778D #1E408D #341E8D
triadic
#1E408D #8D1E40 #408D1E
tetradic
#1E408D #8D1E77 #8D6B1E #1E8D34
square
#1E408D #8D1E77 #8D6B1E #1E8D34
split-complementary
#1E408D #8D341E #778D1E
monochromatic
#091228 #13295B #1E408D #2957BF #4C77D9

Accessibility & contrast

On white

9.66
#1E408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1E408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E408D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E408D#FFFFFF#000000##FFFFFF
##1E408D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e408d;
/* rgb */ color: rgb(30, 64, 141);
/* oklch */ color: oklch(39.5% 0.134 263.5);
Tailwind
colors: {
  custom: {
    50: '#6c74af',
    500: '#1e408d',
    950: '#000000',
  },
}
SCSS
$custom: #1e408d;
$custom-light: #6c74af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408d",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 221.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.13424,
    "h": 263.5
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#1E408D
secondary
#BC994B
accent
#B440E8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1E408D

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

Preview Lab → · Contrast checker → · Palette generator →

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