#405EAD#405EAD

#405EAD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.131 H 266.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#405EAD
RGBrgb(64, 94, 173)
HSLhsl(223, 46%, 46%)
HSVhsv(223, 63%, 68%)
CMYKcmyk(63%, 45.7%, 0%, 32.2%)
CIE-LABlab(41.39, 14.50, -45.64)
CIE-LCHlch(41.39, 47.89, 287.63°)
OKLaboklab(49.98% -0.0088 -0.1303)
OKLCHoklch(49.98% 0.131 266.2)
XYZxyz(13.6573, 12.1113, 41.1451)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EAD #AD8F40
analogous
#4095AD #405EAD #5940AD
triadic
#405EAD #AD405E #5EAD40
tetradic
#405EAD #AD4095 #AD8F40 #40AD59
square
#405EAD #AD4095 #AD8F40 #40AD59
split-complementary
#405EAD #AD5940 #95AD40
monochromatic
#1F2D54 #2F4680 #405EAD #647FC6 #91A4D6

Accessibility & contrast

On white

6.14
#405EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#405EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EAD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EAD#FFFFFF#000000##FFFFFF
##405EAD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#275DAB
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #405ead;
/* rgb */ color: rgb(64, 94, 173);
/* oklch */ color: oklch(50.0% 0.131 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f8bc6',
    500: '#405ead',
    950: '#000000',
  },
}
SCSS
$custom: #405ead;
$custom-light: #7f8bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#405ead",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 223.486,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.13061,
    "h": 266.2
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#405EAD
secondary
#C2B287
accent
#B152D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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