#405EA3#405EA3

#405EA3 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.3% C 0.116 H 264.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#405EA3
RGBrgb(64, 94, 163)
HSLhsl(222, 44%, 45%)
HSVhsv(222, 61%, 64%)
CMYKcmyk(60.7%, 42.3%, 0%, 36.1%)
CIE-LABlab(40.80, 10.97, -40.67)
CIE-LCHlch(40.80, 42.13, 285.10°)
OKLaboklab(49.33% -0.0106 -0.1157)
OKLCHoklch(49.33% 0.116 264.8)
XYZxyz(12.7256, 11.7387, 36.2384)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EA3 #A38540
analogous
#4090A3 #405EA3 #5440A3
triadic
#405EA3 #A3405E #5EA340
tetradic
#405EA3 #A34090 #A38540 #40A354
square
#405EA3 #A34090 #A38540 #40A354
split-complementary
#405EA3 #A35440 #90A340
monochromatic
#1D2B4B #2F4577 #405EA3 #607DC0 #8CA1D2

Accessibility & contrast

On white

6.27
#405EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#405EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EA3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EA3#FFFFFF#000000##FFFFFF
##405EA31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405ea3;
/* rgb */ color: rgb(64, 94, 163);
/* oklch */ color: oklch(49.3% 0.116 264.8);
Tailwind
colors: {
  custom: {
    50: '#7e8bbf',
    500: '#405ea3',
    950: '#000000',
  },
}
SCSS
$custom: #405ea3;
$custom-light: #7e8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#405ea3",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 221.818,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.11622,
    "h": 264.8
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#405EA3
secondary
#BDAB82
accent
#AD54D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #405EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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