#406EAF#406EAF

#406EAF is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.7% C 0.114 H 257.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#406EAF
RGBrgb(64, 110, 175)
HSLhsl(215, 46%, 47%)
HSVhsv(215, 63%, 69%)
CMYKcmyk(63.4%, 37.1%, 0%, 31.4%)
CIE-LABlab(46.09, 5.10, -39.34)
CIE-LCHlch(46.09, 39.67, 277.39°)
OKLaboklab(53.65% -0.0253 -0.1116)
OKLCHoklch(53.65% 0.114 257.3)
XYZxyz(15.4254, 15.3356, 42.6963)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EAF #AF8140
analogous
#40A6AF #406EAF #4940AF
triadic
#406EAF #AF406E #6EAF40
tetradic
#406EAF #AF40A6 #AF8140 #40AF49
square
#406EAF #AF40A6 #AF8140 #40AF49
split-complementary
#406EAF #AF4940 #A6AF40
monochromatic
#1F3655 #305282 #406EAF #658EC7 #92AFD7

Accessibility & contrast

On white

5.16
#406EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#406EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EAF#FFFFFF#000000##FFFFFF
##406EAF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#4368AE
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406eaf;
/* rgb */ color: rgb(64, 110, 175);
/* oklch */ color: oklch(53.7% 0.114 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f97c7',
    500: '#406eaf',
    950: '#000000',
  },
}
SCSS
$custom: #406eaf;
$custom-light: #7f97c7;
$custom-dark: #000000;
JSON
{
  "hex": "#406eaf",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 215.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.11445,
    "h": 257.3
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#406EAF
secondary
#C3AA88
accent
#9F52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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