#404DC2#404DC2
#404DC2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.181 H 272.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #404DC2 |
|---|---|
| RGB | rgb(64, 77, 194) |
| HSL | hsl(234, 52%, 51%) |
| HSV | hsv(234, 67%, 76%) |
| CMYK | cmyk(67%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(38.36, 32.87, -62.86) |
| CIE-LCH | lch(38.36, 70.93, 297.61°) |
| OKLab | oklab(48.17% 0.0086 -0.1812) |
| OKLCH | oklch(48.17% 0.181 272.7) |
| XYZ | xyz(14.5026, 10.2915, 52.2506) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.77
Ocean Blue
#4F42B5
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.74
Blue (survey)
#0343DF
ΔE00 4.77
Iris
#6258C4
ΔE00 5.81
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404DC2 #C2B540
analogous
#408EC2 #404DC2 #7440C2
triadic
#404DC2 #C2404D #4DC240
tetradic
#404DC2 #C2408E #C2B540 #40C274
square
#404DC2 #C2408E #C2B540 #40C274
split-complementary
#404DC2 #C27440 #8EC240
monochromatic
#212867 #303A95 #404DC2 #6E78D1 #9DA3E0
Accessibility & contrast
On white
6.87
#404DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#404DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404DC2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404DC2 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #404dc2; /* rgb */ color: rgb(64, 77, 194); /* oklch */ color: oklch(48.2% 0.181 272.7);
Tailwind
colors: {
custom: {
50: '#847ed5',
500: '#404dc2',
950: '#000000',
},
}SCSS
$custom: #404dc2; $custom-light: #847ed5; $custom-dark: #000000;
JSON
{
"hex": "#404dc2",
"rgb": {
"r": 64,
"g": 77,
"b": 194
},
"hsl": {
"h": 234,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.48165,
"c": 0.18136,
"h": 272.7
},
"luminance": 0.10293
}Semantic roles & 50–950 ramp
primary
#404DC2
secondary
#CCC692
accent
#CD4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83