#4F47BA#4F47BA
#4F47BA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.175 H 280.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4F47BA |
|---|---|
| RGB | rgb(79, 71, 186) |
| HSL | hsl(244, 45%, 50%) |
| HSV | hsv(244, 62%, 73%) |
| CMYK | cmyk(57.5%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(37.32, 36.33, -59.82) |
| CIE-LCH | lch(37.32, 69.98, 301.27°) |
| OKLab | oklab(47.47% 0.0319 -0.1719) |
| OKLCH | oklch(47.47% 0.175 280.5) |
| XYZ | xyz(14.3378, 9.7130, 47.5641) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.59
Blue With A Hint Of Purple
#533CC6
ΔE00 3.50
Bluey Purple
#6241C7
ΔE00 4.06
Blurple
#5539CC
ΔE00 4.48
Blue Blue
#2242C7
ΔE00 4.93
Iris
#6258C4
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F47BA #B2BA47
analogous
#4778BA #4F47BA #8847BA
triadic
#4F47BA #BA4F47 #47BA4F
tetradic
#4F47BA #BA4778 #B2BA47 #47BA88
square
#4F47BA #BA4778 #B2BA47 #47BA88
split-complementary
#4F47BA #BA8847 #78BA47
monochromatic
#292562 #3C358E #4F47BA #7A74CB #A4A0DB
Accessibility & contrast
On white
7.14
#4F47BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#4F47BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F47BA
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F47BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F47BA | 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)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#11637A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4f47ba; /* rgb */ color: rgb(79, 71, 186); /* oklch */ color: oklch(47.5% 0.175 280.5);
Tailwind
colors: {
custom: {
50: '#8a7bd0',
500: '#4f47ba',
950: '#000000',
},
}SCSS
$custom: #4f47ba; $custom-light: #8a7bd0; $custom-dark: #000000;
JSON
{
"hex": "#4f47ba",
"rgb": {
"r": 79,
"g": 71,
"b": 186
},
"hsl": {
"h": 244.174,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.4747,
"c": 0.17481,
"h": 280.5
},
"luminance": 0.09714
}Semantic roles & 50–950 ramp
primary
#4F47BA
secondary
#C4C895
accent
#D553CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82