#4F58CF#4F58CF
#4F58CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.181 H 274.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58CF |
|---|---|
| RGB | rgb(79, 88, 207) |
| HSL | hsl(236, 57%, 56%) |
| HSV | hsv(236, 62%, 81%) |
| CMYK | cmyk(61.8%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(42.98, 32.76, -62.83) |
| CIE-LCH | lch(42.98, 70.86, 297.54°) |
| OKLab | oklab(52.15% 0.0156 -0.1806) |
| OKLCH | oklch(52.15% 0.181 274.9) |
| XYZ | xyz(17.9730, 13.1452, 60.6095) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.59
Iris
#6258C4
ΔE00 3.54
Dark Periwinkle
#665FD1
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.53
Light Indigo
#6D5ACF
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58CF #CFC64F
analogous
#4F98CF #4F58CF #864FCF
triadic
#4F58CF #CF4F58 #58CF4F
tetradic
#4F58CF #CF4F98 #CFC64F #4FCF86
square
#4F58CF #CF4F98 #CFC64F #4FCF86
split-complementary
#4F58CF #CF864F #98CF4F
monochromatic
#232A81 #3039B1 #4F58CF #7F86DC #AFB3E9
Accessibility & contrast
On white
5.79
#4F58CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4F58CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58CF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58CF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f58cf; /* rgb */ color: rgb(79, 88, 207); /* oklch */ color: oklch(52.1% 0.181 274.9);
Tailwind
colors: {
custom: {
50: '#8d87de',
500: '#4f58cf',
950: '#000000',
},
}SCSS
$custom: #4f58cf; $custom-light: #8d87de; $custom-dark: #000000;
JSON
{
"hex": "#4f58cf",
"rgb": {
"r": 79,
"g": 88,
"b": 207
},
"hsl": {
"h": 235.781,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.52145,
"c": 0.18128,
"h": 274.9
},
"luminance": 0.13147
}Semantic roles & 50–950 ramp
primary
#4F58CF
secondary
#D7D4A2
accent
#D647E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83