#405EA0#405EA0

#405EA0 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.1% C 0.112 H 264.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#405EA0
RGBrgb(64, 94, 160)
HSLhsl(221, 43%, 44%)
HSVhsv(221, 60%, 63%)
CMYKcmyk(60%, 41.3%, 0%, 37.3%)
CIE-LABlab(40.63, 9.92, -39.16)
CIE-LCHlch(40.63, 40.40, 284.22°)
OKLaboklab(49.15% -0.0112 -0.1113)
OKLCHoklch(49.15% 0.112 264.3)
XYZxyz(12.4600, 11.6324, 34.8396)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EA0 #A08240
analogous
#408EA0 #405EA0 #5240A0
triadic
#405EA0 #A0405E #5EA040
tetradic
#405EA0 #A0408E #A08240 #40A052
square
#405EA0 #A0408E #A08240 #40A052
split-complementary
#405EA0 #A05240 #8EA040
monochromatic
#1D2B49 #2F4474 #405EA0 #5E7DBF #8AA0D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405EA0#FFFFFF#000000##FFFFFF
##405EA01.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)
#4164A3
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405ea0;
/* rgb */ color: rgb(64, 94, 160);
/* oklch */ color: oklch(49.1% 0.112 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d8bbc',
    500: '#405ea0',
    950: '#000000',
  },
}
SCSS
$custom: #405ea0;
$custom-light: #7d8bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#405ea0",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 221.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.11187,
    "h": 264.3
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#405EA0
secondary
#BBA981
accent
#AB55D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #405EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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