#4F7CEE#4F7CEE
#4F7CEE is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.179 H 265.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7CEE |
|---|---|
| RGB | rgb(79, 124, 238) |
| HSL | hsl(223, 82%, 62%) |
| HSV | hsv(223, 67%, 93%) |
| CMYK | cmyk(66.8%, 47.9%, 0%, 6.7%) |
| CIE-LAB | lab(54.29, 21.02, -62.10) |
| CIE-LCH | lch(54.29, 65.56, 288.70°) |
| OKLab | oklab(61.33% -0.0147 -0.178) |
| OKLCH | oklch(61.33% 0.179 265.3) |
| XYZ | xyz(25.8593, 22.2481, 83.8039) |
| Luminance | 0.2225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.88
Dodger Blue
#3E82FC
ΔE00 3.14
Clear Blue
#247AFD
ΔE00 3.15
Soft Blue
#6488EA
ΔE00 4.14
Deep Sky Blue
#0D75F8
ΔE00 4.24
Azure
#007FFF
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7CEE #EEC14F
analogous
#4FCBEE #4F7CEE #724FEE
triadic
#4F7CEE #EE4F7C #7CEE4F
tetradic
#4F7CEE #EE4FCB #EEC14F #4FEE72
square
#4F7CEE #EE4FCB #EEC14F #4FEE72
split-complementary
#4F7CEE #EE724F #CBEE4F
monochromatic
#113FB1 #1752E9 #4F7CEE #87A6F3 #BFCFF9
Accessibility & contrast
On white
3.85
#4F7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#4F7CEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7CEE
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7CEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7CEE | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8AF2
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4f7cee; /* rgb */ color: rgb(79, 124, 238); /* oklch */ color: oklch(61.3% 0.179 265.3);
Tailwind
colors: {
custom: {
50: '#91a1f4',
500: '#4f7cee',
950: '#000000',
},
}SCSS
$custom: #4f7cee; $custom-light: #91a1f4; $custom-dark: #000000;
JSON
{
"hex": "#4f7cee",
"rgb": {
"r": 79,
"g": 124,
"b": 238
},
"hsl": {
"h": 223.019,
"s": 82.383,
"l": 62.157
},
"oklch": {
"l": 0.61332,
"c": 0.1786,
"h": 265.3
},
"luminance": 0.22251
}Semantic roles & 50–950 ramp
primary
#4F7CEE
secondary
#EAD9AF
accent
#A207DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85