#406FCA#406FCA

#406FCA is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.6% C 0.150 H 262.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#406FCA
RGBrgb(64, 111, 202)
HSLhsl(220, 57%, 52%)
HSVhsv(220, 68%, 79%)
CMYKcmyk(68.3%, 45%, 0%, 20.8%)
CIE-LABlab(47.91, 14.07, -52.05)
CIE-LCHlch(47.91, 53.92, 285.13°)
OKLaboklab(55.55% -0.0206 -0.1489)
OKLCHoklch(55.55% 0.15 262.1)
XYZxyz(18.4557, 16.7213, 58.1206)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FCA #CA9B40
analogous
#40B4CA #406FCA #5640CA
triadic
#406FCA #CA406F #6FCA40
tetradic
#406FCA #CA40B4 #CA9B40 #40CA56
square
#406FCA #CA40B4 #CA9B40 #40CA56
split-complementary
#406FCA #CA5640 #B4CA40
monochromatic
#1F3B70 #2C54A0 #406FCA #7093D7 #A0B7E5

Accessibility & contrast

On white

4.83
#406FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#406FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FCA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FCA#FFFFFF#000000##FFFFFF
##406FCA1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4278CD
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406fca;
/* rgb */ color: rgb(64, 111, 202);
/* oklch */ color: oklch(55.6% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#8497db',
    500: '#406fca',
    950: '#000000',
  },
}
SCSS
$custom: #406fca;
$custom-light: #8497db;
$custom-dark: #000000;
JSON
{
  "hex": "#406fca",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 219.565,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.15034,
    "h": 262.1
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#406FCA
secondary
#D1BD95
accent
#AC48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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