#406CB9#406CB9

#406CB9 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.131 H 260.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#406CB9
RGBrgb(64, 108, 185)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 65%, 73%)
CMYKcmyk(65.4%, 41.6%, 0%, 27.5%)
CIE-LABlab(46.06, 9.88, -45.20)
CIE-LCHlch(46.06, 46.26, 282.33°)
OKLaboklab(53.81% -0.0209 -0.1288)
OKLCHoklch(53.81% 0.131 260.8)
XYZxyz(16.2308, 15.3163, 47.9905)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CB9 #B98D40
analogous
#40A9B9 #406CB9 #5140B9
triadic
#406CB9 #B9406C #6CB940
tetradic
#406CB9 #B940A9 #B98D40 #40B951
square
#406CB9 #B940A9 #B98D40 #40B951
split-complementary
#406CB9 #B95140 #A9B940
monochromatic
#21375E #30518C #406CB9 #6B8ECC #98B1DB

Accessibility & contrast

On white

5.17
#406CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#406CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CB9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CB9#FFFFFF#000000##FFFFFF
##406CB91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BC
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406cb9;
/* rgb */ color: rgb(64, 108, 185);
/* oklch */ color: oklch(53.8% 0.131 260.8);
Tailwind
colors: {
  custom: {
    50: '#8195ce',
    500: '#406cb9',
    950: '#000000',
  },
}
SCSS
$custom: #406cb9;
$custom-light: #8195ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406cb9",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 218.182,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.1305,
    "h": 260.8
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#406CB9
secondary
#C7B28E
accent
#A750D8
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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