#405AAE#405AAE

#405AAE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.137 H 268.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#405AAE
RGBrgb(64, 90, 174)
HSLhsl(226, 46%, 47%)
HSVhsv(226, 63%, 68%)
CMYKcmyk(63.2%, 48.3%, 0%, 31.8%)
CIE-LABlab(40.34, 17.44, -47.92)
CIE-LCHlch(40.34, 50.99, 290.00°)
OKLaboklab(49.2% -0.0045 -0.1371)
OKLCHoklch(49.2% 0.137 268.1)
XYZxyz(13.4079, 11.4571, 41.5411)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405AAE #AE9440
analogous
#4091AE #405AAE #5D40AE
triadic
#405AAE #AE405A #5AAE40
tetradic
#405AAE #AE4091 #AE9440 #40AE5D
square
#405AAE #AE4091 #AE9440 #40AE5D
split-complementary
#405AAE #AE5D40 #91AE40
monochromatic
#1F2C55 #304381 #405AAE #657CC6 #92A2D7

Accessibility & contrast

On white

6.38
#405AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#405AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405AAE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405AAE#FFFFFF#000000##FFFFFF
##405AAE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #405aae;
/* rgb */ color: rgb(64, 90, 174);
/* oklch */ color: oklch(49.2% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#8088c7',
    500: '#405aae',
    950: '#000000',
  },
}
SCSS
$custom: #405aae;
$custom-light: #8088c7;
$custom-dark: #000000;
JSON
{
  "hex": "#405aae",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 225.818,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.492,
    "c": 0.13714,
    "h": 268.1
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#405AAE
secondary
#C2B488
accent
#B752D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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