#406FBC#406FBC

#406FBC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.7% C 0.131 H 259.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#406FBC
RGBrgb(64, 111, 188)
HSLhsl(217, 49%, 49%)
HSVhsv(217, 66%, 74%)
CMYKcmyk(66%, 41%, 0%, 26.3%)
CIE-LABlab(47.09, 9.07, -45.30)
CIE-LCHlch(47.09, 46.20, 281.32°)
OKLaboklab(54.66% -0.0233 -0.1291)
OKLCHoklch(54.66% 0.131 259.8)
XYZxyz(16.8727, 16.0881, 49.7833)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FBC #BC8D40
analogous
#40ADBC #406FBC #4F40BC
triadic
#406FBC #BC406F #6FBC40
tetradic
#406FBC #BC40AD #BC8D40 #40BC4F
square
#406FBC #BC40AD #BC8D40 #40BC4F
split-complementary
#406FBC #BC4F40 #ADBC40
monochromatic
#213961 #30548E #406FBC #6C91CD #9AB3DD

Accessibility & contrast

On white

4.98
#406FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#406FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FBC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FBC#FFFFFF#000000##FFFFFF
##406FBC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406fbc;
/* rgb */ color: rgb(64, 111, 188);
/* oklch */ color: oklch(54.7% 0.131 259.8);
Tailwind
colors: {
  custom: {
    50: '#8197d0',
    500: '#406fbc',
    950: '#000000',
  },
}
SCSS
$custom: #406fbc;
$custom-light: #8197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fbc",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 217.258,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.13117,
    "h": 259.8
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#406FBC
secondary
#C9B38F
accent
#A54FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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