#405ACE#405ACE

#405ACE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.181 H 269.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#405ACE
RGBrgb(64, 90, 206)
HSLhsl(229, 59%, 53%)
HSVhsv(229, 69%, 81%)
CMYKcmyk(68.9%, 56.3%, 0%, 19.2%)
CIE-LABlab(42.55, 28.84, -63.00)
CIE-LCHlch(42.55, 69.29, 294.60°)
OKLaboklab(51.57% -0.0018 -0.1814)
OKLCHoklch(51.57% 0.181 269.4)
XYZxyz(16.9073, 12.8569, 59.9712)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405ACE #CEB440
analogous
#40A1CE #405ACE #6D40CE
triadic
#405ACE #CE405A #5ACE40
tetradic
#405ACE #CE40A1 #CEB440 #40CE6D
square
#405ACE #CE40A1 #CEB440 #40CE6D
split-complementary
#405ACE #CE6D40 #A1CE40
monochromatic
#1E2E75 #2B41A6 #405ACE #7184DA #A1AEE7

Accessibility & contrast

On white

5.88
#405ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#405ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405ACE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405ACE#FFFFFF#000000##FFFFFF
##405ACE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #405ace;
/* rgb */ color: rgb(64, 90, 206);
/* oklch */ color: oklch(51.6% 0.181 269.4);
Tailwind
colors: {
  custom: {
    50: '#8688de',
    500: '#405ace',
    950: '#000000',
  },
}
SCSS
$custom: #405ace;
$custom-light: #8688de;
$custom-dark: #000000;
JSON
{
  "hex": "#405ace",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 229.014,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.18145,
    "h": 269.4
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#405ACE
secondary
#D4C896
accent
#C645E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #405ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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