#406FAC#406FAC

#406FAC is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.109 H 255.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#406FAC
RGBrgb(64, 111, 172)
HSLhsl(214, 46%, 46%)
HSVhsv(214, 63%, 67%)
CMYKcmyk(62.8%, 35.5%, 0%, 32.5%)
CIE-LABlab(46.23, 3.44, -37.37)
CIE-LCHlch(46.23, 37.53, 275.25°)
OKLaboklab(53.71% -0.0271 -0.1059)
OKLCHoklch(53.71% 0.109 255.6)
XYZxyz(15.2425, 15.4360, 41.1979)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FAC #AC7D40
analogous
#40A5AC #406FAC #4740AC
triadic
#406FAC #AC406F #6FAC40
tetradic
#406FAC #AC40A5 #AC7D40 #40AC47
square
#406FAC #AC40A5 #AC7D40 #40AC47
split-complementary
#406FAC #AC4740 #A5AC40
monochromatic
#1F3553 #2F527F #406FAC #648EC5 #91AFD6

Accessibility & contrast

On white

5.14
#406FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#406FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FAC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FAC#FFFFFF#000000##FFFFFF
##406FAC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406fac;
/* rgb */ color: rgb(64, 111, 172);
/* oklch */ color: oklch(53.7% 0.109 255.6);
Tailwind
colors: {
  custom: {
    50: '#7f98c5',
    500: '#406fac',
    950: '#000000',
  },
}
SCSS
$custom: #406fac;
$custom-light: #7f98c5;
$custom-dark: #000000;
JSON
{
  "hex": "#406fac",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 213.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.10929,
    "h": 255.6
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#406FAC
secondary
#C1A887
accent
#9C52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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