#406ACF#406ACF

#406ACF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.8% C 0.163 H 264.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#406ACF
RGBrgb(64, 106, 207)
HSLhsl(222, 60%, 53%)
HSVhsv(222, 69%, 81%)
CMYKcmyk(69.1%, 48.8%, 0%, 18.8%)
CIE-LABlab(46.84, 19.02, -56.62)
CIE-LCHlch(46.84, 59.73, 288.57°)
OKLaboklab(54.84% -0.0153 -0.1624)
OKLCHoklch(54.84% 0.163 264.6)
XYZxyz(18.5269, 15.9012, 61.1122)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ACF #CFA540
analogous
#40B1CF #406ACF #5D40CF
triadic
#406ACF #CF406A #6ACF40
tetradic
#406ACF #CF40B1 #CFA540 #40CF5D
square
#406ACF #CF40B1 #CFA540 #40CF5D
split-complementary
#406ACF #CF5D40 #B1CF40
monochromatic
#1E3877 #2A4FA8 #406ACF #7190DB #A2B6E8

Accessibility & contrast

On white

5.02
#406ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#406ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ACF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ACF#FFFFFF#000000##FFFFFF
##406ACF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#0269CD
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406acf;
/* rgb */ color: rgb(64, 106, 207);
/* oklch */ color: oklch(54.8% 0.163 264.6);
Tailwind
colors: {
  custom: {
    50: '#8594de',
    500: '#406acf',
    950: '#000000',
  },
}
SCSS
$custom: #406acf;
$custom-light: #8594de;
$custom-dark: #000000;
JSON
{
  "hex": "#406acf",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 207
  },
  "hsl": {
    "h": 222.378,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.16316,
    "h": 264.6
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#406ACF
secondary
#D4C297
accent
#B545E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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