#405BCE#405BCE

#405BCE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.180 H 269.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#405BCE
RGBrgb(64, 91, 206)
HSLhsl(229, 59%, 53%)
HSVhsv(229, 69%, 81%)
CMYKcmyk(68.9%, 55.8%, 0%, 19.2%)
CIE-LABlab(42.80, 28.21, -62.58)
CIE-LCHlch(42.80, 68.65, 294.26°)
OKLaboklab(51.76% -0.0026 -0.1802)
OKLCHoklch(51.76% 0.18 269.2)
XYZxyz(16.9922, 13.0267, 59.9995)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405BCE #CEB340
analogous
#40A2CE #405BCE #6C40CE
triadic
#405BCE #CE405B #5BCE40
tetradic
#405BCE #CE40A2 #CEB340 #40CE6C
square
#405BCE #CE40A2 #CEB340 #40CE6C
split-complementary
#405BCE #CE6C40 #A2CE40
monochromatic
#1E2F75 #2B42A6 #405BCE #7185DA #A1AFE7

Accessibility & contrast

On white

5.82
#405BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#405BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405BCE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405BCE#FFFFFF#000000##FFFFFF
##405BCE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #405bce;
/* rgb */ color: rgb(64, 91, 206);
/* oklch */ color: oklch(51.8% 0.180 269.2);
Tailwind
colors: {
  custom: {
    50: '#8689de',
    500: '#405bce',
    950: '#000000',
  },
}
SCSS
$custom: #405bce;
$custom-light: #8689de;
$custom-dark: #000000;
JSON
{
  "hex": "#405bce",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 228.592,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.18022,
    "h": 269.2
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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