#4F48C7#4F48C7
#4F48C7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.191 H 279.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4F48C7 |
|---|---|
| RGB | rgb(79, 72, 199) |
| HSL | hsl(243, 53%, 53%) |
| HSV | hsv(243, 64%, 78%) |
| CMYK | cmyk(60.3%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(38.58, 39.92, -65.36) |
| CIE-LCH | lch(38.58, 76.59, 301.41°) |
| OKLab | oklab(48.72% 0.0301 -0.1882) |
| OKLCH | oklch(48.72% 0.191 279.1) |
| XYZ | xyz(15.8473, 10.4193, 55.1978) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.04
Blue With A Hint Of Purple
#533CC6
ΔE00 3.29
Bluey Purple
#6241C7
ΔE00 3.65
Blurple
#5539CC
ΔE00 4.01
Blue Blue
#2242C7
ΔE00 4.76
Iris
#6258C4
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F48C7 #C0C748
analogous
#4880C7 #4F48C7 #8E48C7
triadic
#4F48C7 #C74F48 #48C74F
tetradic
#4F48C7 #C74880 #C0C748 #48C78E
square
#4F48C7 #C74880 #C0C748 #48C78E
split-complementary
#4F48C7 #C78E48 #80C748
monochromatic
#272372 #3731A1 #4F48C7 #7C77D5 #A9A6E4
Accessibility & contrast
On white
6.81
#4F48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#4F48C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F48C7
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F48C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F48C7 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4f48c7; /* rgb */ color: rgb(79, 72, 199); /* oklch */ color: oklch(48.7% 0.191 279.1);
Tailwind
colors: {
custom: {
50: '#8d7cd9',
500: '#4f48c7',
950: '#000000',
},
}SCSS
$custom: #4f48c7; $custom-light: #8d7cd9; $custom-dark: #000000;
JSON
{
"hex": "#4f48c7",
"rgb": {
"r": 79,
"g": 72,
"b": 199
},
"hsl": {
"h": 243.307,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.48715,
"c": 0.19054,
"h": 279.1
},
"luminance": 0.10421
}Semantic roles & 50–950 ramp
primary
#4F48C7
secondary
#CED19A
accent
#DD4BD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83