#4F7CEA#4F7CEA
#4F7CEA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.1% C 0.173 H 265.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7CEA |
|---|---|
| RGB | rgb(79, 124, 234) |
| HSL | hsl(223, 79%, 61%) |
| HSV | hsv(223, 66%, 92%) |
| CMYK | cmyk(66.2%, 47%, 0%, 8.2%) |
| CIE-LAB | lab(54.04, 19.63, -60.26) |
| CIE-LCH | lch(54.04, 63.38, 288.04°) |
| OKLab | oklab(61.07% -0.0152 -0.1726) |
| OKLCH | oklch(61.07% 0.173 265) |
| XYZ | xyz(25.2782, 22.0156, 80.7432) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.16
Clear Blue
#247AFD
ΔE00 3.19
Dodger Blue
#3E82FC
ΔE00 3.26
Deep Sky Blue
#0D75F8
ΔE00 4.16
Soft Blue
#6488EA
ΔE00 4.21
Azure
#007FFF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7CEA #EABD4F
analogous
#4FC9EA #4F7CEA #704FEA
triadic
#4F7CEA #EA4F7C #7CEA4F
tetradic
#4F7CEA #EA4FC9 #EABD4F #4FEA70
square
#4F7CEA #EA4FC9 #EABD4F #4FEA70
split-complementary
#4F7CEA #EA704F #C9EA4F
monochromatic
#1440AA #1B54E1 #4F7CEA #86A5F1 #BCCDF7
Accessibility & contrast
On white
3.89
#4F7CEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#4F7CEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7CEA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7CEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7CEA | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#207BE8
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4f7cea; /* rgb */ color: rgb(79, 124, 234); /* oklch */ color: oklch(61.1% 0.173 265.0);
Tailwind
colors: {
custom: {
50: '#90a1f1',
500: '#4f7cea',
950: '#000000',
},
}SCSS
$custom: #4f7cea; $custom-light: #90a1f1; $custom-dark: #000000;
JSON
{
"hex": "#4f7cea",
"rgb": {
"r": 79,
"g": 124,
"b": 234
},
"hsl": {
"h": 222.581,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.61066,
"c": 0.17327,
"h": 265
},
"luminance": 0.22018
}Semantic roles & 50–950 ramp
primary
#4F7CEA
secondary
#E7D7AD
accent
#9E0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85