#1E408C#1E408C

#1E408C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.133 H 263.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1E408C
RGBrgb(30, 64, 140)
HSLhsl(221, 65%, 33%)
HSVhsv(221, 79%, 55%)
CMYKcmyk(78.6%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.99, 16.65, -45.80)
CIE-LCHlch(28.99, 48.73, 289.98°)
OKLaboklab(39.37% -0.0153 -0.1319)
OKLCHoklch(39.37% 0.133 263.4)
XYZxyz(7.1008, 5.8355, 25.5580)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E408C #8C6A1E
analogous
#1E778C #1E408C #331E8C
triadic
#1E408C #8C1E40 #408C1E
tetradic
#1E408C #8C1E77 #8C6A1E #1E8C33
square
#1E408C #8C1E77 #8C6A1E #1E8C33
split-complementary
#1E408C #8C331E #778C1E
monochromatic
#081227 #13295A #1E408C #2957BE #4C77D9

Accessibility & contrast

On white

9.69
#1E408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E408C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E408C#FFFFFF#000000##FFFFFF
##1E408C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e408c;
/* rgb */ color: rgb(30, 64, 140);
/* oklch */ color: oklch(39.4% 0.133 263.4);
Tailwind
colors: {
  custom: {
    50: '#6c74ae',
    500: '#1e408c',
    950: '#000000',
  },
}
SCSS
$custom: #1e408c;
$custom-light: #6c74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e408c",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 221.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.13281,
    "h": 263.4
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#1E408C
secondary
#BB984B
accent
#B440E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E408C

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

Preview Lab → · Contrast checker → · Palette generator →

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