#406ACA#406ACA

#406ACA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.5% C 0.156 H 264.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#406ACA
RGBrgb(64, 106, 202)
HSLhsl(222, 57%, 52%)
HSVhsv(222, 68%, 79%)
CMYKcmyk(68.3%, 47.5%, 0%, 20.8%)
CIE-LABlab(46.53, 17.23, -54.27)
CIE-LCHlch(46.53, 56.94, 287.61°)
OKLaboklab(54.49% -0.016 -0.1555)
OKLCHoklch(54.49% 0.156 264.1)
XYZxyz(17.9253, 15.6605, 57.9438)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ACA #CAA040
analogous
#40AFCA #406ACA #5B40CA
triadic
#406ACA #CA406A #6ACA40
tetradic
#406ACA #CA40AF #CAA040 #40CA5B
square
#406ACA #CA40AF #CAA040 #40CA5B
split-complementary
#406ACA #CA5B40 #AFCA40
monochromatic
#1F3870 #2C50A0 #406ACA #708FD7 #A0B5E5

Accessibility & contrast

On white

5.08
#406ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#406ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ACA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ACA#FFFFFF#000000##FFFFFF
##406ACA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#1668C8
Tritanopia (blue-blind)
#008090
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406aca;
/* rgb */ color: rgb(64, 106, 202);
/* oklch */ color: oklch(54.5% 0.156 264.1);
Tailwind
colors: {
  custom: {
    50: '#8494db',
    500: '#406aca',
    950: '#000000',
  },
}
SCSS
$custom: #406aca;
$custom-light: #8494db;
$custom-dark: #000000;
JSON
{
  "hex": "#406aca",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 202
  },
  "hsl": {
    "h": 221.739,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.15634,
    "h": 264.1
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#406ACA
secondary
#D1BF95
accent
#B248E0
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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