#405ABD#405ABD

#405ABD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.158 H 269.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#405ABD
RGBrgb(64, 90, 189)
HSLhsl(228, 49%, 50%)
HSVhsv(228, 66%, 74%)
CMYKcmyk(66.1%, 52.4%, 0%, 25.9%)
CIE-LABlab(41.34, 22.78, -55.11)
CIE-LCHlch(41.34, 59.64, 292.46°)
OKLaboklab(50.27% -0.0028 -0.1582)
OKLCHoklch(50.27% 0.158 269)
XYZxyz(14.9527, 12.0751, 49.6770)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405ABD #BDA340
analogous
#4099BD #405ABD #6540BD
triadic
#405ABD #BD405A #5ABD40
tetradic
#405ABD #BD4099 #BDA340 #40BD65
square
#405ABD #BD4099 #BDA340 #40BD65
split-complementary
#405ABD #BD6540 #99BD40
monochromatic
#212E62 #31448F #405ABD #6D81CD #9AA8DD

Accessibility & contrast

On white

6.15
#405ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #405ABD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405ABD#FFFFFF#000000##FFFFFF
##405ABD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #405abd;
/* rgb */ color: rgb(64, 90, 189);
/* oklch */ color: oklch(50.3% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#8288d2',
    500: '#405abd',
    950: '#000000',
  },
}
SCSS
$custom: #405abd;
$custom-light: #8288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#405abd",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 227.52,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.15827,
    "h": 269
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#405ABD
secondary
#C9BD90
accent
#BC4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #405ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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