#1E408F#1E408F

#1E408F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.137 H 263.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1E408F
RGBrgb(30, 64, 143)
HSLhsl(222, 65%, 34%)
HSVhsv(222, 79%, 56%)
CMYKcmyk(79%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.22, 17.85, -47.27)
CIE-LCHlch(29.22, 50.53, 290.69°)
OKLaboklab(39.62% -0.015 -0.1363)
OKLCHoklch(39.62% 0.137 263.7)
XYZxyz(7.3250, 5.9251, 26.7389)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408F #8F6D1E
analogous
#1E798F #1E408F #351E8F
triadic
#1E408F #8F1E40 #408F1E
tetradic
#1E408F #8F1E79 #8F6D1E #1E8F35
square
#1E408F #8F1E79 #8F6D1E #1E8F35
split-complementary
#1E408F #8F351E #798F1E
monochromatic
#09132A #13295C #1E408F #2957C2 #4E78DA

Accessibility & contrast

On white

9.61
#1E408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1E408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E408F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E408F#FFFFFF#000000##FFFFFF
##1E408F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e408f;
/* rgb */ color: rgb(30, 64, 143);
/* oklch */ color: oklch(39.6% 0.137 263.7);
Tailwind
colors: {
  custom: {
    50: '#6c74b0',
    500: '#1e408f',
    950: '#000000',
  },
}
SCSS
$custom: #1e408f;
$custom-light: #6c74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408f",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 221.947,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.13709,
    "h": 263.7
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#1E408F
secondary
#BC9B4C
accent
#B640E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E408F

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

Preview Lab → · Contrast checker → · Palette generator →

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