#404DC1#404DC1
#404DC1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.180 H 272.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #404DC1 |
|---|---|
| RGB | rgb(64, 77, 193) |
| HSL | hsl(234, 51%, 50%) |
| HSV | hsv(234, 67%, 76%) |
| CMYK | cmyk(66.8%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(38.28, 32.52, -62.40) |
| CIE-LCH | lch(38.28, 70.37, 297.53°) |
| OKLab | oklab(48.08% 0.0086 -0.1798) |
| OKLCH | oklch(48.08% 0.18 272.7) |
| XYZ | xyz(14.3906, 10.2467, 51.6612) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.78
Ocean Blue
#4F42B5
ΔE00 4.61
Warm Blue
#4B57DB
ΔE00 4.85
Blue (survey)
#0343DF
ΔE00 4.86
Sapphire
#0F52BA
ΔE00 5.76
Iris
#6258C4
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404DC1 #C1B440
analogous
#408EC1 #404DC1 #7340C1
triadic
#404DC1 #C1404D #4DC140
tetradic
#404DC1 #C1408E #C1B440 #40C173
square
#404DC1 #C1408E #C1B440 #40C173
split-complementary
#404DC1 #C17340 #8EC140
monochromatic
#212866 #303A94 #404DC1 #6E78D0 #9CA3DF
Accessibility & contrast
On white
6.89
#404DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#404DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404DC1
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404DC1 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #404dc1; /* rgb */ color: rgb(64, 77, 193); /* oklch */ color: oklch(48.1% 0.180 272.7);
Tailwind
colors: {
custom: {
50: '#847ed5',
500: '#404dc1',
950: '#000000',
},
}SCSS
$custom: #404dc1; $custom-light: #847ed5; $custom-dark: #000000;
JSON
{
"hex": "#404dc1",
"rgb": {
"r": 64,
"g": 77,
"b": 193
},
"hsl": {
"h": 233.953,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.48082,
"c": 0.18004,
"h": 272.7
},
"luminance": 0.10248
}Semantic roles & 50–950 ramp
primary
#404DC1
secondary
#CBC592
accent
#CC4DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83