#406DAF#406DAF

#406DAF is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.4% C 0.116 H 257.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#406DAF
RGBrgb(64, 109, 175)
HSLhsl(216, 46%, 47%)
HSVhsv(216, 63%, 69%)
CMYKcmyk(63.4%, 37.7%, 0%, 31.4%)
CIE-LABlab(45.80, 5.72, -39.80)
CIE-LCHlch(45.80, 40.21, 278.18°)
OKLaboklab(53.43% -0.0242 -0.113)
OKLCHoklch(53.43% 0.116 257.9)
XYZxyz(15.3181, 15.1210, 42.6605)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DAF #AF8240
analogous
#40A5AF #406DAF #4B40AF
triadic
#406DAF #AF406D #6DAF40
tetradic
#406DAF #AF40A5 #AF8240 #40AF4B
square
#406DAF #AF40A5 #AF8240 #40AF4B
split-complementary
#406DAF #AF4B40 #A5AF40
monochromatic
#1F3555 #305182 #406DAF #658DC7 #92AED7

Accessibility & contrast

On white

5.22
#406DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#406DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DAF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DAF#FFFFFF#000000##FFFFFF
##406DAF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406daf;
/* rgb */ color: rgb(64, 109, 175);
/* oklch */ color: oklch(53.4% 0.116 257.9);
Tailwind
colors: {
  custom: {
    50: '#7f96c7',
    500: '#406daf',
    950: '#000000',
  },
}
SCSS
$custom: #406daf;
$custom-light: #7f96c7;
$custom-dark: #000000;
JSON
{
  "hex": "#406daf",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 215.676,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.11555,
    "h": 257.9
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#406DAF
secondary
#C3AB88
accent
#A052D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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