#405AA3#405AA3

#405AA3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.121 H 267.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#405AA3
RGBrgb(64, 90, 163)
HSLhsl(224, 44%, 45%)
HSVhsv(224, 61%, 64%)
CMYKcmyk(60.7%, 44.8%, 0%, 36.1%)
CIE-LABlab(39.66, 13.55, -42.49)
CIE-LCHlch(39.66, 44.60, 287.68°)
OKLaboklab(48.46% -0.0062 -0.1211)
OKLCHoklch(48.46% 0.121 267.1)
XYZxyz(12.3791, 11.0456, 36.1229)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405AA3 #A38940
analogous
#408CA3 #405AA3 #5740A3
triadic
#405AA3 #A3405A #5AA340
tetradic
#405AA3 #A3408C #A38940 #40A357
square
#405AA3 #A3408C #A38940 #40A357
split-complementary
#405AA3 #A35740 #8CA340
monochromatic
#1D294B #2F4277 #405AA3 #6079C0 #8C9ED2

Accessibility & contrast

On white

6.54
#405AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#405AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405AA3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405AA3#FFFFFF#000000##FFFFFF
##405AA31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A6
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405aa3;
/* rgb */ color: rgb(64, 90, 163);
/* oklch */ color: oklch(48.5% 0.121 267.1);
Tailwind
colors: {
  custom: {
    50: '#7e88bf',
    500: '#405aa3',
    950: '#000000',
  },
}
SCSS
$custom: #405aa3;
$custom-light: #7e88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#405aa3",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 224.242,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.12128,
    "h": 267.1
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#405AA3
secondary
#BDAD82
accent
#B254D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #405AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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