#4F40D7#4F40D7
#4F40D7 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.220 H 279.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F40D7 |
|---|---|
| RGB | rgb(79, 64, 215) |
| HSL | hsl(246, 65%, 55%) |
| HSV | hsv(246, 70%, 84%) |
| CMYK | cmyk(63.3%, 70.2%, 0%, 15.7%) |
| CIE-LAB | lab(38.26, 49.59, -75.14) |
| CIE-LCH | lch(38.26, 90.03, 303.42°) |
| OKLab | oklab(48.9% 0.0342 -0.2168) |
| OKLCH | oklch(48.9% 0.22 279) |
| XYZ | xyz(17.3197, 10.2340, 65.3395) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 2.41
Blue With A Hint Of Purple
#533CC6
ΔE00 2.54
Bluey Purple
#6241C7
ΔE00 3.33
Purpley Blue
#5F34E7
ΔE00 3.59
Purpleish Blue
#6140EF
ΔE00 4.07
Burple
#6832E3
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F40D7 #C8D740
analogous
#407DD7 #4F40D7 #9A40D7
triadic
#4F40D7 #D74F40 #40D74F
tetradic
#4F40D7 #D7407D #C8D740 #40D79A
square
#4F40D7 #D7407D #C8D740 #40D79A
split-complementary
#4F40D7 #D79A40 #7DD740
monochromatic
#251B81 #3426B4 #4F40D7 #7E73E2 #ACA5EC
Accessibility & contrast
On white
6.89
#4F40D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4F40D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F40D7
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F40D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F40D7 | 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)
#0060DC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4f40d7; /* rgb */ color: rgb(79, 64, 215); /* oklch */ color: oklch(48.9% 0.220 279.0);
Tailwind
colors: {
custom: {
50: '#9077e5',
500: '#4f40d7',
950: '#000000',
},
}SCSS
$custom: #4f40d7; $custom-light: #9077e5; $custom-dark: #000000;
JSON
{
"hex": "#4f40d7",
"rgb": {
"r": 79,
"g": 64,
"b": 215
},
"hsl": {
"h": 245.96,
"s": 65.368,
"l": 54.706
},
"oklch": {
"l": 0.48903,
"c": 0.21951,
"h": 279
},
"luminance": 0.10235
}Semantic roles & 50–950 ramp
primary
#4F40D7
secondary
#D3D99A
accent
#E83FD8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84