#406FBF#406FBF

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

Color values

HEX#406FBF
RGBrgb(64, 111, 191)
HSLhsl(218, 50%, 50%)
HSVhsv(218, 66%, 75%)
CMYKcmyk(66.5%, 41.9%, 0%, 25.1%)
CIE-LABlab(47.26, 10.14, -46.76)
CIE-LCHlch(47.26, 47.85, 282.23°)
OKLaboklab(54.85% -0.0227 -0.1334)
OKLCHoklch(54.85% 0.135 260.4)
XYZxyz(17.1994, 16.2188, 51.5042)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FBF #BF9040
analogous
#40AFBF #406FBF #5040BF
triadic
#406FBF #BF406F #6FBF40
tetradic
#406FBF #BF40AF #BF9040 #40BF50
square
#406FBF #BF40AF #BF9040 #40BF50
split-complementary
#406FBF #BF5040 #AFBF40
monochromatic
#213A63 #315491 #406FBF #6E92CE #9CB4DE

Accessibility & contrast

On white

4.95
#406FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406FBF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FBF#FFFFFF#000000##FFFFFF
##406FBF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406fbf;
/* rgb */ color: rgb(64, 111, 191);
/* oklch */ color: oklch(54.8% 0.135 260.4);
Tailwind
colors: {
  custom: {
    50: '#8297d3',
    500: '#406fbf',
    950: '#000000',
  },
}
SCSS
$custom: #406fbf;
$custom-light: #8297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406fbf",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 217.795,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.13529,
    "h": 260.4
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#406FBF
secondary
#CAB591
accent
#A64ED9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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