#4F6FF2#4F6FF2
#4F6FF2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.199 H 269.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F6FF2 |
|---|---|
| RGB | rgb(79, 111, 242) |
| HSL | hsl(228, 86%, 63%) |
| HSV | hsv(228, 67%, 95%) |
| CMYK | cmyk(67.4%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(51.20, 30.42, -69.32) |
| CIE-LCH | lch(51.20, 75.70, 293.69°) |
| OKLab | oklab(59.07% -0.0032 -0.1994) |
| OKLCH | oklch(59.07% 0.199 269.1) |
| XYZ | xyz(24.9304, 19.4395, 86.4256) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.39
Royal Blue
#4169E1
ΔE00 3.62
Cornflower
#6A79F7
ΔE00 4.62
Lightish Blue
#3D7AFD
ΔE00 4.66
Bright Blue
#0165FC
ΔE00 4.82
Cerulean Blue
#056EEE
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F6FF2 #F2D24F
analogous
#4FC0F2 #4F6FF2 #804FF2
triadic
#4F6FF2 #F24F6F #6FF24F
tetradic
#4F6FF2 #F24FC0 #F2D24F #4FF280
square
#4F6FF2 #F24FC0 #F2D24F #4FF280
split-complementary
#4F6FF2 #F2804F #C0F24F
monochromatic
#0E2FB9 #1640EE #4F6FF2 #889EF6 #C1CCFA
Accessibility & contrast
On white
4.30
#4F6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#4F6FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F6FF2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F6FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F6FF2 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4f6ff2; /* rgb */ color: rgb(79, 111, 242); /* oklch */ color: oklch(59.1% 0.199 269.1);
Tailwind
colors: {
custom: {
50: '#9297f7',
500: '#4f6ff2',
950: '#000000',
},
}SCSS
$custom: #4f6ff2; $custom-light: #9297f7; $custom-dark: #000000;
JSON
{
"hex": "#4f6ff2",
"rgb": {
"r": 79,
"g": 111,
"b": 242
},
"hsl": {
"h": 228.221,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.59073,
"c": 0.19946,
"h": 269.1
},
"luminance": 0.19442
}Semantic roles & 50–950 ramp
primary
#4F6FF2
secondary
#ECE0B1
accent
#B703E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85