#4F4FB5#4F4FB5
#4F4FB5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.158 H 278.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4FB5 |
|---|---|
| RGB | rgb(79, 79, 181) |
| HSL | hsl(240, 41%, 51%) |
| HSV | hsv(240, 56%, 71%) |
| CMYK | cmyk(56.4%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(38.88, 29.74, -54.35) |
| CIE-LCH | lch(38.88, 61.95, 298.69°) |
| OKLab | oklab(48.5% 0.024 -0.1557) |
| OKLCH | oklch(48.5% 0.158 278.8) |
| XYZ | xyz(14.3583, 10.5895, 44.9945) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.96
Iris
#6258C4
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 5.80
Blue Blue
#2242C7
ΔE00 5.96
Blueberry
#464196
ΔE00 6.06
Blue With A Hint Of Purple
#533CC6
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4FB5 #B5B54F
analogous
#4F82B5 #4F4FB5 #824FB5
triadic
#4F4FB5 #B54F4F #4FB54F
tetradic
#4F4FB5 #B54F82 #B5B54F #4FB582
square
#4F4FB5 #B54F82 #B5B54F #4FB582
split-complementary
#4F4FB5 #B5824F #82B54F
monochromatic
#292961 #3B3B8C #4F4FB5 #7A7AC7 #A5A5D9
Accessibility & contrast
On white
6.74
#4F4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4F4FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F4FB5
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4FB5 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#19677A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4f4fb5; /* rgb */ color: rgb(79, 79, 181); /* oklch */ color: oklch(48.5% 0.158 278.8);
Tailwind
colors: {
custom: {
50: '#8980cc',
500: '#4f4fb5',
950: '#000000',
},
}SCSS
$custom: #4f4fb5; $custom-light: #8980cc; $custom-dark: #000000;
JSON
{
"hex": "#4f4fb5",
"rgb": {
"r": 79,
"g": 79,
"b": 181
},
"hsl": {
"h": 240,
"s": 40.8,
"l": 50.98
},
"oklch": {
"l": 0.48503,
"c": 0.15757,
"h": 278.8
},
"luminance": 0.1059
}Semantic roles & 50–950 ramp
primary
#4F4FB5
secondary
#C6C699
accent
#D157D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82