#406DD3#406DD3

#406DD3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.165 H 263.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#406DD3
RGBrgb(64, 109, 211)
HSLhsl(222, 63%, 54%)
HSVhsv(222, 70%, 83%)
CMYKcmyk(69.7%, 48.3%, 0%, 17.3%)
CIE-LABlab(47.92, 18.57, -57.18)
CIE-LCHlch(47.92, 60.12, 287.99°)
OKLaboklab(55.74% -0.0174 -0.164)
OKLCHoklch(55.74% 0.165 263.9)
XYZxyz(19.3367, 16.7284, 63.8252)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD3 #D3A640
analogous
#40B6D3 #406DD3 #5D40D3
triadic
#406DD3 #D3406D #6DD340
tetradic
#406DD3 #D340B6 #D3A640 #40D35D
square
#406DD3 #D340B6 #D3A640 #40D35D
split-complementary
#406DD3 #D35D40 #B6D340
monochromatic
#1D3A7C #2851AE #406DD3 #7293DE #A3B9EA

Accessibility & contrast

On white

4.83
#406DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#406DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DD3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DD3#FFFFFF#000000##FFFFFF
##406DD31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D7
Deuteranopia (green-blind)
#066BD1
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406dd3;
/* rgb */ color: rgb(64, 109, 211);
/* oklch */ color: oklch(55.7% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#8696e1',
    500: '#406dd3',
    950: '#000000',
  },
}
SCSS
$custom: #406dd3;
$custom-light: #8696e1;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd3",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 211
  },
  "hsl": {
    "h": 221.633,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.16495,
    "h": 263.9
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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