#1E408E#1E408E

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

Color values

HEX#1E408E
RGBrgb(30, 64, 142)
HSLhsl(222, 65%, 34%)
HSVhsv(222, 79%, 56%)
CMYKcmyk(78.9%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.15, 17.45, -46.78)
CIE-LCHlch(29.15, 49.93, 290.46°)
OKLaboklab(39.53% -0.0151 -0.1348)
OKLCHoklch(39.53% 0.136 263.6)
XYZxyz(7.2496, 5.8950, 26.3417)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408E #8E6C1E
analogous
#1E788E #1E408E #341E8E
triadic
#1E408E #8E1E40 #408E1E
tetradic
#1E408E #8E1E78 #8E6C1E #1E8E34
square
#1E408E #8E1E78 #8E6C1E #1E8E34
split-complementary
#1E408E #8E341E #788E1E
monochromatic
#091229 #13295B #1E408E #2957C1 #4D78D9

Accessibility & contrast

On white

9.64
#1E408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1E408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E408E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E408E#FFFFFF#000000##FFFFFF
##1E408E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e408e;
/* rgb */ color: rgb(30, 64, 142);
/* oklch */ color: oklch(39.5% 0.136 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c74b0',
    500: '#1e408e',
    950: '#000000',
  },
}
SCSS
$custom: #1e408e;
$custom-light: #6c74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408e",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 221.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.13567,
    "h": 263.6
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#1E408E
secondary
#BC9A4C
accent
#B540E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1E408E

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

Preview Lab → · Contrast checker → · Palette generator →

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