#406FC2#406FC2
#406FC2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.139 H 260.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #406FC2 |
|---|---|
| RGB | rgb(64, 111, 194) |
| HSL | hsl(218, 52%, 51%) |
| HSV | hsv(218, 67%, 76%) |
| CMYK | cmyk(67%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(47.43, 11.21, -48.22) |
| CIE-LCH | lch(47.43, 49.50, 283.09°) |
| OKLab | oklab(55.04% -0.0221 -0.1376) |
| OKLCH | oklch(55.04% 0.139 260.9) |
| XYZ | xyz(17.5329, 16.3522, 53.2608) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.82
Medium Blue
#2C6FBB
ΔE00 3.18
Mid Blue
#276AB3
ΔE00 4.20
Cornflower Blue
#5170D7
ΔE00 4.29
Windows Blue
#3778BF
ΔE00 4.36
Flat Blue
#3C73A8
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FC2 #C29340
analogous
#40B0C2 #406FC2 #5240C2
triadic
#406FC2 #C2406F #6FC240
tetradic
#406FC2 #C240B0 #C29340 #40C252
square
#406FC2 #C240B0 #C29340 #40C252
split-complementary
#406FC2 #C25240 #B0C240
monochromatic
#213A67 #305495 #406FC2 #6E92D1 #9DB5E0
Accessibility & contrast
On white
4.92
#406FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#406FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FC2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FC2 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #406fc2; /* rgb */ color: rgb(64, 111, 194); /* oklch */ color: oklch(55.0% 0.139 260.9);
Tailwind
colors: {
custom: {
50: '#8297d5',
500: '#406fc2',
950: '#000000',
},
}SCSS
$custom: #406fc2; $custom-light: #8297d5; $custom-dark: #000000;
JSON
{
"hex": "#406fc2",
"rgb": {
"r": 64,
"g": 111,
"b": 194
},
"hsl": {
"h": 218.308,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.55036,
"c": 0.1394,
"h": 260.9
},
"luminance": 0.16354
}Semantic roles & 50–950 ramp
primary
#406FC2
secondary
#CCB792
accent
#A84DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83