#406BBF#406BBF

#406BBF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.140 H 262.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#406BBF
RGBrgb(64, 107, 191)
HSLhsl(220, 50%, 50%)
HSVhsv(220, 66%, 75%)
CMYKcmyk(66.5%, 44%, 0%, 25.1%)
CIE-LABlab(46.13, 12.65, -48.57)
CIE-LCHlch(46.13, 50.19, 284.60°)
OKLaboklab(53.97% -0.0187 -0.1387)
OKLCHoklch(53.97% 0.14 262.3)
XYZxyz(16.7727, 15.3653, 51.3620)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BBF #BF9440
analogous
#40ABBF #406BBF #5440BF
triadic
#406BBF #BF406B #6BBF40
tetradic
#406BBF #BF40AB #BF9440 #40BF54
square
#406BBF #BF40AB #BF9440 #40BF54
split-complementary
#406BBF #BF5440 #ABBF40
monochromatic
#213863 #315191 #406BBF #6E8FCE #9CB2DE

Accessibility & contrast

On white

5.16
#406BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#406BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BBF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BBF#FFFFFF#000000##FFFFFF
##406BBF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406bbf;
/* rgb */ color: rgb(64, 107, 191);
/* oklch */ color: oklch(54.0% 0.140 262.3);
Tailwind
colors: {
  custom: {
    50: '#8294d3',
    500: '#406bbf',
    950: '#000000',
  },
}
SCSS
$custom: #406bbf;
$custom-light: #8294d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406bbf",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 219.685,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.13999,
    "h": 262.3
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#406BBF
secondary
#CAB791
accent
#AA4ED9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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