#405CD0#405CD0

#405CD0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.182 H 268.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#405CD0
RGBrgb(64, 92, 208)
HSLhsl(228, 61%, 53%)
HSVhsv(228, 69%, 82%)
CMYKcmyk(69.2%, 55.8%, 0%, 18.4%)
CIE-LABlab(43.21, 28.28, -63.08)
CIE-LCHlch(43.21, 69.13, 294.15°)
OKLaboklab(52.11% -0.0033 -0.1816)
OKLCHoklch(52.11% 0.182 268.9)
XYZxyz(17.3228, 13.2966, 61.3159)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CD0 #D0B440
analogous
#40A4D0 #405CD0 #6C40D0
triadic
#405CD0 #D0405C #5CD040
tetradic
#405CD0 #D040A4 #D0B440 #40D06C
square
#405CD0 #D040A4 #D0B440 #40D06C
split-complementary
#405CD0 #D06C40 #A4D040
monochromatic
#1E2F78 #2A42A9 #405CD0 #7186DC #A2B0E8

Accessibility & contrast

On white

5.74
#405CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#405CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CD0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CD0#FFFFFF#000000##FFFFFF
##405CD01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #405cd0;
/* rgb */ color: rgb(64, 92, 208);
/* oklch */ color: oklch(52.1% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#8689df',
    500: '#405cd0',
    950: '#000000',
  },
}
SCSS
$custom: #405cd0;
$custom-light: #8689df;
$custom-dark: #000000;
JSON
{
  "hex": "#405cd0",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 228.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.18167,
    "h": 268.9
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#405CD0
secondary
#D5C997
accent
#C544E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #405CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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