#405EAE#405EAE

#405EAE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.132 H 266.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#405EAE
RGBrgb(64, 94, 174)
HSLhsl(224, 46%, 47%)
HSVhsv(224, 63%, 68%)
CMYKcmyk(63.2%, 46%, 0%, 31.8%)
CIE-LABlab(41.45, 14.86, -46.13)
CIE-LCHlch(41.45, 48.47, 287.85°)
OKLaboklab(50.05% -0.0086 -0.1318)
OKLCHoklch(50.05% 0.132 266.3)
XYZxyz(13.7544, 12.1502, 41.6566)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EAE #AE9040
analogous
#4095AE #405EAE #5940AE
triadic
#405EAE #AE405E #5EAE40
tetradic
#405EAE #AE4095 #AE9040 #40AE59
square
#405EAE #AE4095 #AE9040 #40AE59
split-complementary
#405EAE #AE5940 #95AE40
monochromatic
#1F2E55 #304681 #405EAE #657FC6 #92A4D7

Accessibility & contrast

On white

6.12
#405EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#405EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EAE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EAE#FFFFFF#000000##FFFFFF
##405EAE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #405eae;
/* rgb */ color: rgb(64, 94, 174);
/* oklch */ color: oklch(50.0% 0.132 266.3);
Tailwind
colors: {
  custom: {
    50: '#7f8bc7',
    500: '#405eae',
    950: '#000000',
  },
}
SCSS
$custom: #405eae;
$custom-light: #7f8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#405eae",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 223.636,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.13204,
    "h": 266.3
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#405EAE
secondary
#C2B288
accent
#B252D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#405EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva