#404FB7#404FB7
#404FB7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.164 H 272.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #404FB7 |
|---|---|
| RGB | rgb(64, 79, 183) |
| HSL | hsl(232, 48%, 48%) |
| HSV | hsv(232, 65%, 72%) |
| CMYK | cmyk(65%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(38.02, 27.74, -56.97) |
| CIE-LCH | lch(38.02, 63.36, 295.96°) |
| OKLab | oklab(47.65% 0.0069 -0.1638) |
| OKLCH | oklch(47.65% 0.164 272.4) |
| XYZ | xyz(13.4547, 10.0997, 46.0309) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.72
Cobalt
#0047AB
ΔE00 5.80
Iris
#6258C4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FB7 #B7A840
analogous
#408AB7 #404FB7 #6C40B7
triadic
#404FB7 #B7404F #4FB740
tetradic
#404FB7 #B7408A #B7A840 #40B76C
square
#404FB7 #B7408A #B7A840 #40B76C
split-complementary
#404FB7 #B76C40 #8AB740
monochromatic
#20285C #303B8A #404FB7 #6976CB #979FDB
Accessibility & contrast
On white
6.95
#404FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#404FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404FB7
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FB7 | 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)
#005FBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #404fb7; /* rgb */ color: rgb(64, 79, 183); /* oklch */ color: oklch(47.6% 0.164 272.4);
Tailwind
colors: {
custom: {
50: '#8280cd',
500: '#404fb7',
950: '#000000',
},
}SCSS
$custom: #404fb7; $custom-light: #8280cd; $custom-dark: #000000;
JSON
{
"hex": "#404fb7",
"rgb": {
"r": 64,
"g": 79,
"b": 183
},
"hsl": {
"h": 232.437,
"s": 48.178,
"l": 48.431
},
"oklch": {
"l": 0.47647,
"c": 0.16397,
"h": 272.4
},
"luminance": 0.10101
}Semantic roles & 50–950 ramp
primary
#404FB7
secondary
#C6BF8D
accent
#C750D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82