#406BBE#406BBE

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

Color values

HEX#406BBE
RGBrgb(64, 107, 190)
HSLhsl(220, 50%, 50%)
HSVhsv(220, 66%, 75%)
CMYKcmyk(66.3%, 43.7%, 0%, 25.5%)
CIE-LABlab(46.07, 12.29, -48.08)
CIE-LCHlch(46.07, 49.63, 284.34°)
OKLaboklab(53.91% -0.0189 -0.1373)
OKLCHoklch(53.91% 0.139 262.2)
XYZxyz(16.6630, 15.3215, 50.7844)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BBE #BE9340
analogous
#40AABE #406BBE #5440BE
triadic
#406BBE #BE406B #6BBE40
tetradic
#406BBE #BE40AA #BE9340 #40BE54
square
#406BBE #BE40AA #BE9340 #40BE54
split-complementary
#406BBE #BE5440 #AABE40
monochromatic
#213762 #315190 #406BBE #6D8ECE #9BB2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406BBE#FFFFFF#000000##FFFFFF
##406BBE1.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)
#4473C1
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406bbe;
/* rgb */ color: rgb(64, 107, 190);
/* oklch */ color: oklch(53.9% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#8294d2',
    500: '#406bbe',
    950: '#000000',
  },
}
SCSS
$custom: #406bbe;
$custom-light: #8294d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406bbe",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 219.524,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.13861,
    "h": 262.2
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#406BBE
secondary
#C9B690
accent
#AA4FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #406BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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