#406CAA#406CAA

#406CAA is a mid, moderate blue. Relative luminance 0.147; OKLCH L 52.9% C 0.110 H 257.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#406CAA
RGBrgb(64, 108, 170)
HSLhsl(215, 45%, 46%)
HSVhsv(215, 62%, 67%)
CMYKcmyk(62.4%, 36.5%, 0%, 33.3%)
CIE-LABlab(45.24, 4.59, -37.75)
CIE-LCHlch(45.24, 38.03, 276.94°)
OKLaboklab(52.91% -0.0244 -0.107)
OKLCHoklch(52.91% 0.11 257.2)
XYZxyz(14.7300, 14.7160, 40.0866)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CAA #AA7E40
analogous
#40A1AA #406CAA #4940AA
triadic
#406CAA #AA406C #6CAA40
tetradic
#406CAA #AA40A1 #AA7E40 #40AA49
square
#406CAA #AA40A1 #AA7E40 #40AA49
split-complementary
#406CAA #AA4940 #A1AA40
monochromatic
#1F3451 #2F507E #406CAA #638BC4 #8FACD5

Accessibility & contrast

On white

5.33
#406CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#406CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CAA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CAA#FFFFFF#000000##FFFFFF
##406CAA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AD
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406caa;
/* rgb */ color: rgb(64, 108, 170);
/* oklch */ color: oklch(52.9% 0.110 257.2);
Tailwind
colors: {
  custom: {
    50: '#7e95c3',
    500: '#406caa',
    950: '#000000',
  },
}
SCSS
$custom: #406caa;
$custom-light: #7e95c3;
$custom-dark: #000000;
JSON
{
  "hex": "#406caa",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 170
  },
  "hsl": {
    "h": 215.094,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.10976,
    "h": 257.2
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#406CAA
secondary
#C0A886
accent
#9F53D5
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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