#405CAA#405CAA

#405CAA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.129 H 266.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#405CAA
RGBrgb(64, 92, 170)
HSLhsl(224, 45%, 46%)
HSVhsv(224, 62%, 67%)
CMYKcmyk(62.4%, 45.9%, 0%, 33.3%)
CIE-LABlab(40.65, 14.73, -45.06)
CIE-LCHlch(40.65, 47.41, 288.10°)
OKLaboklab(49.35% -0.0071 -0.1286)
OKLCHoklch(49.35% 0.129 266.8)
XYZxyz(13.1947, 11.6454, 39.5749)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CAA #AA8E40
analogous
#4091AA #405CAA #5940AA
triadic
#405CAA #AA405C #5CAA40
tetradic
#405CAA #AA4091 #AA8E40 #40AA59
square
#405CAA #AA4091 #AA8E40 #40AA59
split-complementary
#405CAA #AA5940 #91AA40
monochromatic
#1F2C51 #2F447E #405CAA #637DC4 #8FA2D5

Accessibility & contrast

On white

6.31
#405CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#405CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CAA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CAA#FFFFFF#000000##FFFFFF
##405CAA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405caa;
/* rgb */ color: rgb(64, 92, 170);
/* oklch */ color: oklch(49.4% 0.129 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f89c4',
    500: '#405caa',
    950: '#000000',
  },
}
SCSS
$custom: #405caa;
$custom-light: #7f89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#405caa",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 224.151,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.12885,
    "h": 266.8
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#405CAA
secondary
#C0B186
accent
#B353D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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