#406ACE#406ACE

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

Color values

HEX#406ACE
RGBrgb(64, 106, 206)
HSLhsl(222, 59%, 53%)
HSVhsv(222, 69%, 81%)
CMYKcmyk(68.9%, 48.5%, 0%, 19.2%)
CIE-LABlab(46.78, 18.67, -56.15)
CIE-LCHlch(46.78, 59.17, 288.39°)
OKLaboklab(54.77% -0.0154 -0.1611)
OKLCHoklch(54.77% 0.162 264.5)
XYZxyz(18.4051, 15.8524, 60.4704)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ACE #CEA440
analogous
#40B1CE #406ACE #5D40CE
triadic
#406ACE #CE406A #6ACE40
tetradic
#406ACE #CE40B1 #CEA440 #40CE5D
square
#406ACE #CE40B1 #CEA440 #40CE5D
split-complementary
#406ACE #CE5D40 #B1CE40
monochromatic
#1E3875 #2B4FA6 #406ACE #7190DA #A1B6E7

Accessibility & contrast

On white

5.04
#406ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#406ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ACE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ACE#FFFFFF#000000##FFFFFF
##406ACE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#0769CC
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ace;
/* rgb */ color: rgb(64, 106, 206);
/* oklch */ color: oklch(54.8% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#8594de',
    500: '#406ace',
    950: '#000000',
  },
}
SCSS
$custom: #406ace;
$custom-light: #8594de;
$custom-dark: #000000;
JSON
{
  "hex": "#406ace",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 222.254,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.1618,
    "h": 264.5
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#406ACE
secondary
#D4C196
accent
#B445E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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