#404FBA#404FBA
#404FBA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.168 H 272.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #404FBA |
|---|---|
| RGB | rgb(64, 79, 186) |
| HSL | hsl(233, 49%, 49%) |
| HSV | hsv(233, 66%, 73%) |
| CMYK | cmyk(65.6%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(38.24, 28.79, -58.36) |
| CIE-LCH | lch(38.24, 65.08, 296.26°) |
| OKLab | oklab(47.89% 0.0069 -0.1679) |
| OKLCH | oklch(47.89% 0.168 272.4) |
| XYZ | xyz(13.7703, 10.2259, 47.6930) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.49
Ocean Blue
#4F42B5
ΔE00 5.13
Sapphire
#0F52BA
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.84
Iris
#6258C4
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FBA #BAAB40
analogous
#408CBA #404FBA #6E40BA
triadic
#404FBA #BA404F #4FBA40
tetradic
#404FBA #BA408C #BAAB40 #40BA6E
square
#404FBA #BA408C #BAAB40 #40BA6E
split-complementary
#404FBA #BA6E40 #8CBA40
monochromatic
#21285F #303C8C #404FBA #6B77CC #99A1DC
Accessibility & contrast
On white
6.90
#404FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#404FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404FBA
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FBA | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #404fba; /* rgb */ color: rgb(64, 79, 186); /* oklch */ color: oklch(47.9% 0.168 272.4);
Tailwind
colors: {
custom: {
50: '#8280d0',
500: '#404fba',
950: '#000000',
},
}SCSS
$custom: #404fba; $custom-light: #8280d0; $custom-dark: #000000;
JSON
{
"hex": "#404fba",
"rgb": {
"r": 64,
"g": 79,
"b": 186
},
"hsl": {
"h": 232.623,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.47885,
"c": 0.16808,
"h": 272.4
},
"luminance": 0.10227
}Semantic roles & 50–950 ramp
primary
#404FBA
secondary
#C8C18E
accent
#C84FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82