#406FAF#406FAF

#406FAF is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.113 H 256.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406FAF
RGBrgb(64, 111, 175)
HSLhsl(215, 46%, 47%)
HSVhsv(215, 63%, 69%)
CMYKcmyk(63.4%, 36.6%, 0%, 31.4%)
CIE-LABlab(46.38, 4.48, -38.87)
CIE-LCHlch(46.38, 39.13, 276.58°)
OKLaboklab(53.88% -0.0263 -0.1103)
OKLCHoklch(53.88% 0.113 256.6)
XYZxyz(15.5339, 15.5526, 42.7324)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FAF #AF8040
analogous
#40A7AF #406FAF #4940AF
triadic
#406FAF #AF406F #6FAF40
tetradic
#406FAF #AF40A7 #AF8040 #40AF49
square
#406FAF #AF40A7 #AF8040 #40AF49
split-complementary
#406FAF #AF4940 #A7AF40
monochromatic
#1F3655 #305382 #406FAF #658FC7 #92AFD7

Accessibility & contrast

On white

5.11
#406FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FAF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FAF#FFFFFF#000000##FFFFFF
##406FAF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B2
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406faf;
/* rgb */ color: rgb(64, 111, 175);
/* oklch */ color: oklch(53.9% 0.113 256.6);
Tailwind
colors: {
  custom: {
    50: '#7f98c7',
    500: '#406faf',
    950: '#000000',
  },
}
SCSS
$custom: #406faf;
$custom-light: #7f98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#406faf",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 214.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.11337,
    "h": 256.6
  },
  "luminance": 0.15554
}

Semantic roles & 50–950 ramp

primary
#406FAF
secondary
#C3AA88
accent
#9E52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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