#4F4CB7#4F4CB7
#4F4CB7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.164 H 279.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4CB7 |
|---|---|
| RGB | rgb(79, 76, 183) |
| HSL | hsl(242, 43%, 51%) |
| HSV | hsv(242, 58%, 72%) |
| CMYK | cmyk(56.8%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(38.29, 32.27, -56.49) |
| CIE-LCH | lch(38.29, 65.06, 299.74°) |
| OKLab | oklab(48.11% 0.0271 -0.162) |
| OKLCH | oklch(48.11% 0.164 279.5) |
| XYZ | xyz(14.3534, 10.2491, 46.0125) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.99
Iris
#6258C4
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.43
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4CB7 #B4B74C
analogous
#4C7EB7 #4F4CB7 #844CB7
triadic
#4F4CB7 #B74F4C #4CB74F
tetradic
#4F4CB7 #B74C7E #B4B74C #4CB784
square
#4F4CB7 #B74C7E #B4B74C #4CB784
split-complementary
#4F4CB7 #B7844C #7EB74C
monochromatic
#292761 #3B398D #4F4CB7 #7A78C9 #A5A3DA
Accessibility & contrast
On white
6.89
#4F4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4F4CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F4CB7
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4CB7 | 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)
#005EBB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#16657A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4f4cb7; /* rgb */ color: rgb(79, 76, 183); /* oklch */ color: oklch(48.1% 0.164 279.5);
Tailwind
colors: {
custom: {
50: '#8a7ecd',
500: '#4f4cb7',
950: '#000000',
},
}SCSS
$custom: #4f4cb7; $custom-light: #8a7ecd; $custom-dark: #000000;
JSON
{
"hex": "#4f4cb7",
"rgb": {
"r": 79,
"g": 76,
"b": 183
},
"hsl": {
"h": 241.682,
"s": 42.629,
"l": 50.784
},
"oklch": {
"l": 0.48108,
"c": 0.1643,
"h": 279.5
},
"luminance": 0.1025
}Semantic roles & 50–950 ramp
primary
#4F4CB7
secondary
#C6C798
accent
#D255CF
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82