#4F4CBF#4F4CBF
#4F4CBF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.175 H 278.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4CBF |
|---|---|
| RGB | rgb(79, 76, 191) |
| HSL | hsl(242, 47%, 52%) |
| HSV | hsv(242, 60%, 75%) |
| CMYK | cmyk(58.6%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(38.88, 34.89, -60.21) |
| CIE-LCH | lch(38.88, 69.59, 300.09°) |
| OKLab | oklab(48.74% 0.0269 -0.173) |
| OKLCH | oklch(48.74% 0.175 278.8) |
| XYZ | xyz(15.2099, 10.5917, 50.5230) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.23
Iris
#6258C4
ΔE00 4.48
Blue With A Hint Of Purple
#533CC6
ΔE00 4.60
Bluey Purple
#6241C7
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4CBF #BCBF4C
analogous
#4C83BF #4F4CBF #884CBF
triadic
#4F4CBF #BF4F4C #4CBF4F
tetradic
#4F4CBF #BF4C83 #BCBF4C #4CBF88
square
#4F4CBF #BF4C83 #BCBF4C #4CBF88
split-complementary
#4F4CBF #BF884C #83BF4C
monochromatic
#28266B #393698 #4F4CBF #7B79CF #A8A6DF
Accessibility & contrast
On white
6.73
#4F4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4F4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F4CBF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4CBF | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4f4cbf; /* rgb */ color: rgb(79, 76, 191); /* oklch */ color: oklch(48.7% 0.175 278.8);
Tailwind
colors: {
custom: {
50: '#8b7ed3',
500: '#4f4cbf',
950: '#000000',
},
}SCSS
$custom: #4f4cbf; $custom-light: #8b7ed3; $custom-dark: #000000;
JSON
{
"hex": "#4f4cbf",
"rgb": {
"r": 79,
"g": 76,
"b": 191
},
"hsl": {
"h": 241.565,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.48738,
"c": 0.17507,
"h": 278.8
},
"luminance": 0.10593
}Semantic roles & 50–950 ramp
primary
#4F4CBF
secondary
#CBCC9A
accent
#D751D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83