#406FBE#406FBE

#406FBE is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.134 H 260.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#406FBE
RGBrgb(64, 111, 190)
HSLhsl(218, 50%, 50%)
HSVhsv(218, 66%, 75%)
CMYKcmyk(66.3%, 41.6%, 0%, 25.5%)
CIE-LABlab(47.20, 9.78, -46.28)
CIE-LCHlch(47.20, 47.30, 281.93°)
OKLaboklab(54.78% -0.0229 -0.132)
OKLCHoklch(54.78% 0.134 260.2)
XYZxyz(17.0897, 16.1749, 50.9266)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FBE #BE8F40
analogous
#40AEBE #406FBE #5040BE
triadic
#406FBE #BE406F #6FBE40
tetradic
#406FBE #BE40AE #BE8F40 #40BE50
square
#406FBE #BE40AE #BE8F40 #40BE50
split-complementary
#406FBE #BE5040 #AEBE40
monochromatic
#213A62 #315490 #406FBE #6D91CE #9BB4DD

Accessibility & contrast

On white

4.96
#406FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#406FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FBE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FBE#FFFFFF#000000##FFFFFF
##406FBE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C1
Deuteranopia (green-blind)
#376BBC
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406fbe;
/* rgb */ color: rgb(64, 111, 190);
/* oklch */ color: oklch(54.8% 0.134 260.2);
Tailwind
colors: {
  custom: {
    50: '#8297d2',
    500: '#406fbe',
    950: '#000000',
  },
}
SCSS
$custom: #406fbe;
$custom-light: #8297d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406fbe",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 217.619,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.13392,
    "h": 260.2
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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