#406BB3#406BB3

#406BB3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.2% C 0.123 H 260.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#406BB3
RGBrgb(64, 107, 179)
HSLhsl(218, 47%, 48%)
HSVhsv(218, 64%, 70%)
CMYKcmyk(64.2%, 40.2%, 0%, 29.8%)
CIE-LABlab(45.44, 8.38, -42.70)
CIE-LCHlch(45.44, 43.52, 281.10°)
OKLaboklab(53.22% -0.0211 -0.1215)
OKLCHoklch(53.22% 0.123 260.1)
XYZxyz(15.5059, 14.8586, 44.6899)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BB3 #B38840
analogous
#40A5B3 #406BB3 #4E40B3
triadic
#406BB3 #B3406B #6BB340
tetradic
#406BB3 #B340A5 #B38840 #40B34E
square
#406BB3 #B340A5 #B38840 #40B34E
split-complementary
#406BB3 #B34E40 #A5B340
monochromatic
#203559 #305086 #406BB3 #678CC9 #94AED9

Accessibility & contrast

On white

5.29
#406BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#406BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BB3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BB3#FFFFFF#000000##FFFFFF
##406BB31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406bb3;
/* rgb */ color: rgb(64, 107, 179);
/* oklch */ color: oklch(53.2% 0.123 260.1);
Tailwind
colors: {
  custom: {
    50: '#8094ca',
    500: '#406bb3',
    950: '#000000',
  },
}
SCSS
$custom: #406bb3;
$custom-light: #8094ca;
$custom-dark: #000000;
JSON
{
  "hex": "#406bb3",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 217.565,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.12335,
    "h": 260.1
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#406BB3
secondary
#C4AF8A
accent
#A551D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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