#406BBB#406BBB

#406BBB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.134 H 261.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#406BBB
RGBrgb(64, 107, 187)
HSLhsl(219, 49%, 49%)
HSVhsv(219, 66%, 73%)
CMYKcmyk(65.8%, 42.8%, 0%, 26.7%)
CIE-LABlab(45.90, 11.22, -46.63)
CIE-LCHlch(45.90, 47.96, 283.53°)
OKLaboklab(53.72% -0.0195 -0.133)
OKLCHoklch(53.72% 0.134 261.7)
XYZxyz(16.3385, 15.1917, 49.0753)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BBB #BB9040
analogous
#40A9BB #406BBB #5240BB
triadic
#406BBB #BB406B #6BBB40
tetradic
#406BBB #BB40A9 #BB9040 #40BB52
square
#406BBB #BB40A9 #BB9040 #40BB52
split-complementary
#406BBB #BB5240 #A9BB40
monochromatic
#213760 #30518D #406BBB #6C8ECD #99B1DC

Accessibility & contrast

On white

5.20
#406BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#406BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BBB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BBB#FFFFFF#000000##FFFFFF
##406BBB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406bbb;
/* rgb */ color: rgb(64, 107, 187);
/* oklch */ color: oklch(53.7% 0.134 261.7);
Tailwind
colors: {
  custom: {
    50: '#8194d0',
    500: '#406bbb',
    950: '#000000',
  },
}
SCSS
$custom: #406bbb;
$custom-light: #8194d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406bbb",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 219.024,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.13445,
    "h": 261.7
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#406BBB
secondary
#C8B48F
accent
#A94FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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