#403FDA#403FDA
#403FDA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.227 H 274.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #403FDA |
|---|---|
| RGB | rgb(64, 63, 218) |
| HSL | hsl(240, 68%, 55%) |
| HSV | hsv(240, 71%, 85%) |
| CMYK | cmyk(70.6%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(37.31, 49.39, -78.47) |
| CIE-LCH | lch(37.31, 92.72, 302.18°) |
| OKLab | oklab(48.04% 0.0158 -0.2269) |
| OKLCH | oklch(48.04% 0.227 274) |
| XYZ | xyz(16.5425, 9.7053, 67.3176) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 3.32
Blue With A Hint Of Purple
#533CC6
ΔE00 3.35
Blue (survey)
#0343DF
ΔE00 3.50
Vibrant Blue
#0339F8
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 4.25
Purpley Blue
#5F34E7
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403FDA #D9DA3F
analogous
#3F8CDA #403FDA #8D3FDA
triadic
#403FDA #DA403F #3FDA40
tetradic
#403FDA #DA3F8C #D9DA3F #3FDA8D
square
#403FDA #DA3F8C #D9DA3F #3FDA8D
split-complementary
#403FDA #DA8D3F #8CDA3F
monochromatic
#1A1A85 #2424B8 #403FDA #7372E4 #A6A6EE
Accessibility & contrast
On white
7.14
#403FDA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#403FDA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403FDA
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403FDA | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0050D7
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #403fda; /* rgb */ color: rgb(64, 63, 218); /* oklch */ color: oklch(48.0% 0.227 274.0);
Tailwind
colors: {
custom: {
50: '#8a76e7',
500: '#403fda',
950: '#000000',
},
}SCSS
$custom: #403fda; $custom-light: #8a76e7; $custom-dark: #000000;
JSON
{
"hex": "#403fda",
"rgb": {
"r": 64,
"g": 63,
"b": 218
},
"hsl": {
"h": 240.387,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.48042,
"c": 0.22747,
"h": 274
},
"luminance": 0.09707
}Semantic roles & 50–950 ramp
primary
#403FDA
secondary
#DADB9A
accent
#EB3DE9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84