#404CC3#404CC3
#404CC3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.184 H 272.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #404CC3 |
|---|---|
| RGB | rgb(64, 76, 195) |
| HSL | hsl(235, 52%, 51%) |
| HSV | hsv(235, 67%, 76%) |
| CMYK | cmyk(67.2%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(38.19, 33.85, -63.71) |
| CIE-LCH | lch(38.19, 72.14, 297.98°) |
| OKLab | oklab(48.07% 0.0094 -0.1837) |
| OKLCH | oklch(48.07% 0.184 272.9) |
| XYZ | xyz(14.5458, 10.1977, 52.8210) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.55
Ocean Blue
#4F42B5
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 4.55
Warm Blue
#4B57DB
ΔE00 4.82
Blue With A Hint Of Purple
#533CC6
ΔE00 5.61
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CC3 #C3B740
analogous
#408DC3 #404CC3 #7540C3
triadic
#404CC3 #C3404C #4CC340
tetradic
#404CC3 #C3408D #C3B740 #40C375
square
#404CC3 #C3408D #C3B740 #40C375
split-complementary
#404CC3 #C37540 #8DC340
monochromatic
#212768 #2F3997 #404CC3 #6F78D2 #9DA3E0
Accessibility & contrast
On white
6.91
#404CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#404CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404CC3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CC3 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #404cc3; /* rgb */ color: rgb(64, 76, 195); /* oklch */ color: oklch(48.1% 0.184 272.9);
Tailwind
colors: {
custom: {
50: '#847ed6',
500: '#404cc3',
950: '#000000',
},
}SCSS
$custom: #404cc3; $custom-light: #847ed6; $custom-dark: #000000;
JSON
{
"hex": "#404cc3",
"rgb": {
"r": 64,
"g": 76,
"b": 195
},
"hsl": {
"h": 234.504,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.48067,
"c": 0.18392,
"h": 272.9
},
"luminance": 0.10199
}Semantic roles & 50–950 ramp
primary
#404CC3
secondary
#CCC792
accent
#CE4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83