#406FBB#406FBB

#406FBB is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.130 H 259.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#406FBB
RGBrgb(64, 111, 187)
HSLhsl(217, 49%, 49%)
HSVhsv(217, 66%, 73%)
CMYKcmyk(65.8%, 40.6%, 0%, 26.7%)
CIE-LABlab(47.03, 8.71, -44.81)
CIE-LCHlch(47.03, 45.65, 281.00°)
OKLaboklab(54.6% -0.0235 -0.1277)
OKLCHoklch(54.6% 0.13 259.6)
XYZxyz(16.7652, 16.0451, 49.2176)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FBB #BB8C40
analogous
#40ADBB #406FBB #4F40BB
triadic
#406FBB #BB406F #6FBB40
tetradic
#406FBB #BB40AD #BB8C40 #40BB4F
square
#406FBB #BB40AD #BB8C40 #40BB4F
split-complementary
#406FBB #BB4F40 #ADBB40
monochromatic
#213960 #30548D #406FBB #6C91CD #99B3DC

Accessibility & contrast

On white

4.99
#406FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#406FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FBB#FFFFFF#000000##FFFFFF
##406FBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406fbb;
/* rgb */ color: rgb(64, 111, 187);
/* oklch */ color: oklch(54.6% 0.130 259.6);
Tailwind
colors: {
  custom: {
    50: '#8197d0',
    500: '#406fbb',
    950: '#000000',
  },
}
SCSS
$custom: #406fbb;
$custom-light: #8197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fbb",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 217.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.1298,
    "h": 259.6
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#406FBB
secondary
#C8B28F
accent
#A44FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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