#405ACD#405ACD

#405ACD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.180 H 269.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#405ACD
RGBrgb(64, 90, 205)
HSLhsl(229, 59%, 53%)
HSVhsv(229, 69%, 80%)
CMYKcmyk(68.8%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.47, 28.49, -62.54)
CIE-LCHlch(42.47, 68.73, 294.49°)
OKLaboklab(51.49% -0.0018 -0.1801)
OKLCHoklch(51.49% 0.18 269.4)
XYZxyz(16.7862, 12.8085, 59.3334)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405ACD #CDB340
analogous
#40A1CD #405ACD #6C40CD
triadic
#405ACD #CD405A #5ACD40
tetradic
#405ACD #CD40A1 #CDB340 #40CD6C
square
#405ACD #CD40A1 #CDB340 #40CD6C
split-complementary
#405ACD #CD6C40 #A1CD40
monochromatic
#1E2E74 #2B42A5 #405ACD #7184DA #A1AEE6

Accessibility & contrast

On white

5.90
#405ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#405ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405ACD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405ACD#FFFFFF#000000##FFFFFF
##405ACD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405acd;
/* rgb */ color: rgb(64, 90, 205);
/* oklch */ color: oklch(51.5% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#8688dd',
    500: '#405acd',
    950: '#000000',
  },
}
SCSS
$custom: #405acd;
$custom-light: #8688dd;
$custom-dark: #000000;
JSON
{
  "hex": "#405acd",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 228.936,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.1801,
    "h": 269.4
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#405ACD
secondary
#D3C896
accent
#C546E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #405ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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