#404CC1#404CC1
#404CC1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.181 H 273.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #404CC1 |
|---|---|
| RGB | rgb(64, 76, 193) |
| HSL | hsl(234, 51%, 50%) |
| HSV | hsv(234, 67%, 76%) |
| CMYK | cmyk(66.8%, 60.6%, 0%, 24.3%) |
| CIE-LAB | lab(38.04, 33.15, -62.80) |
| CIE-LCH | lch(38.04, 71.02, 297.83°) |
| OKLab | oklab(47.9% 0.0094 -0.181) |
| OKLCH | oklch(47.9% 0.181 273) |
| XYZ | xyz(14.3212, 10.1078, 51.6380) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.57
Ocean Blue
#4F42B5
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 5.02
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Iris
#6258C4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CC1 #C1B540
analogous
#408CC1 #404CC1 #7540C1
triadic
#404CC1 #C1404C #4CC140
tetradic
#404CC1 #C1408C #C1B540 #40C175
square
#404CC1 #C1408C #C1B540 #40C175
split-complementary
#404CC1 #C17540 #8CC140
monochromatic
#212766 #303994 #404CC1 #6E77D0 #9CA3DF
Accessibility & contrast
On white
6.95
#404CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#404CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404CC1
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CC1 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #404cc1; /* rgb */ color: rgb(64, 76, 193); /* oklch */ color: oklch(47.9% 0.181 273.0);
Tailwind
colors: {
custom: {
50: '#847ed5',
500: '#404cc1',
950: '#000000',
},
}SCSS
$custom: #404cc1; $custom-light: #847ed5; $custom-dark: #000000;
JSON
{
"hex": "#404cc1",
"rgb": {
"r": 64,
"g": 76,
"b": 193
},
"hsl": {
"h": 234.419,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.479,
"c": 0.18126,
"h": 273
},
"luminance": 0.10109
}Semantic roles & 50–950 ramp
primary
#404CC1
secondary
#CBC692
accent
#CD4DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83