#406DAC#406DAC

#406DAC is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.2% C 0.111 H 257.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#406DAC
RGBrgb(64, 109, 172)
HSLhsl(215, 46%, 46%)
HSVhsv(215, 63%, 67%)
CMYKcmyk(62.8%, 36.6%, 0%, 32.5%)
CIE-LABlab(45.64, 4.67, -38.30)
CIE-LCHlch(45.64, 38.58, 276.95°)
OKLaboklab(53.25% -0.0249 -0.1086)
OKLCHoklch(53.25% 0.111 257.1)
XYZxyz(15.0267, 15.0044, 41.1260)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DAC #AC7F40
analogous
#40A3AC #406DAC #4940AC
triadic
#406DAC #AC406D #6DAC40
tetradic
#406DAC #AC40A3 #AC7F40 #40AC49
square
#406DAC #AC40A3 #AC7F40 #40AC49
split-complementary
#406DAC #AC4940 #A3AC40
monochromatic
#1F3453 #2F517F #406DAC #648CC5 #91ADD6

Accessibility & contrast

On white

5.25
#406DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#406DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DAC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DAC#FFFFFF#000000##FFFFFF
##406DAC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#4367AB
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406dac;
/* rgb */ color: rgb(64, 109, 172);
/* oklch */ color: oklch(53.2% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#7f96c5',
    500: '#406dac',
    950: '#000000',
  },
}
SCSS
$custom: #406dac;
$custom-light: #7f96c5;
$custom-dark: #000000;
JSON
{
  "hex": "#406dac",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 172
  },
  "hsl": {
    "h": 215,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.11143,
    "h": 257.1
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#406DAC
secondary
#C1A987
accent
#9F52D5
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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