#406EB3#406EB3

#406EB3 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.9% C 0.120 H 258.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#406EB3
RGBrgb(64, 110, 179)
HSLhsl(216, 47%, 48%)
HSVhsv(216, 64%, 70%)
CMYKcmyk(64.2%, 38.5%, 0%, 29.8%)
CIE-LABlab(46.30, 6.51, -41.33)
CIE-LCHlch(46.30, 41.84, 278.95°)
OKLaboklab(53.89% -0.0243 -0.1174)
OKLCHoklch(53.89% 0.12 258.3)
XYZxyz(15.8241, 15.4950, 44.7960)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EB3 #B38540
analogous
#40A7B3 #406EB3 #4C40B3
triadic
#406EB3 #B3406E #6EB340
tetradic
#406EB3 #B340A7 #B38540 #40B34C
square
#406EB3 #B340A7 #B38540 #40B34C
split-complementary
#406EB3 #B34C40 #A7B340
monochromatic
#203759 #305286 #406EB3 #678EC9 #94B0D9

Accessibility & contrast

On white

5.12
#406EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#406EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EB3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EB3#FFFFFF#000000##FFFFFF
##406EB31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406eb3;
/* rgb */ color: rgb(64, 110, 179);
/* oklch */ color: oklch(53.9% 0.120 258.3);
Tailwind
colors: {
  custom: {
    50: '#8097ca',
    500: '#406eb3',
    950: '#000000',
  },
}
SCSS
$custom: #406eb3;
$custom-light: #8097ca;
$custom-dark: #000000;
JSON
{
  "hex": "#406eb3",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 216,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.11993,
    "h": 258.3
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#406EB3
secondary
#C4AD8A
accent
#A151D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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