#406BD3#406BD3

#406BD3 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.167 H 264.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#406BD3
RGBrgb(64, 107, 211)
HSLhsl(222, 63%, 54%)
HSVhsv(222, 70%, 83%)
CMYKcmyk(69.7%, 49.3%, 0%, 17.3%)
CIE-LABlab(47.37, 19.83, -58.05)
CIE-LCHlch(47.37, 61.35, 288.86°)
OKLaboklab(55.33% -0.0157 -0.1666)
OKLCHoklch(55.33% 0.167 264.6)
XYZxyz(19.1258, 16.3066, 63.7549)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD3 #D3A840
analogous
#40B5D3 #406BD3 #5F40D3
triadic
#406BD3 #D3406B #6BD340
tetradic
#406BD3 #D340B5 #D3A840 #40D35F
square
#406BD3 #D340B5 #D3A840 #40D35F
split-complementary
#406BD3 #D35F40 #B5D340
monochromatic
#1D387C #284FAE #406BD3 #7292DE #A3B8EA

Accessibility & contrast

On white

4.93
#406BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#406BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD3#FFFFFF#000000##FFFFFF
##406BD31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3077D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bd3;
/* rgb */ color: rgb(64, 107, 211);
/* oklch */ color: oklch(55.3% 0.167 264.6);
Tailwind
colors: {
  custom: {
    50: '#8694e1',
    500: '#406bd3',
    950: '#000000',
  },
}
SCSS
$custom: #406bd3;
$custom-light: #8694e1;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd3",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 222.449,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.16737,
    "h": 264.6
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#406BD3
secondary
#D7C498
accent
#B642E6
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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