#405CAE#405CAE

#405CAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.135 H 267.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#405CAE
RGBrgb(64, 92, 174)
HSLhsl(225, 46%, 47%)
HSVhsv(225, 63%, 68%)
CMYKcmyk(63.2%, 47.1%, 0%, 31.8%)
CIE-LABlab(40.90, 16.15, -47.03)
CIE-LCHlch(40.90, 49.72, 288.95°)
OKLaboklab(49.62% -0.0065 -0.1344)
OKLCHoklch(49.62% 0.135 267.2)
XYZxyz(13.5789, 11.7991, 41.5981)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CAE #AE9240
analogous
#4093AE #405CAE #5B40AE
triadic
#405CAE #AE405C #5CAE40
tetradic
#405CAE #AE4093 #AE9240 #40AE5B
square
#405CAE #AE4093 #AE9240 #40AE5B
split-complementary
#405CAE #AE5B40 #93AE40
monochromatic
#1F2D55 #304481 #405CAE #657EC6 #92A3D7

Accessibility & contrast

On white

6.25
#405CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#405CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CAE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CAE#FFFFFF#000000##FFFFFF
##405CAE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405cae;
/* rgb */ color: rgb(64, 92, 174);
/* oklch */ color: oklch(49.6% 0.135 267.2);
Tailwind
colors: {
  custom: {
    50: '#7f89c7',
    500: '#405cae',
    950: '#000000',
  },
}
SCSS
$custom: #405cae;
$custom-light: #7f89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#405cae",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 224.727,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.13458,
    "h": 267.2
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#405CAE
secondary
#C2B388
accent
#B452D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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