#4F81E7#4F81E7
#4F81E7 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.163 H 262.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4F81E7 |
|---|---|
| RGB | rgb(79, 129, 231) |
| HSL | hsl(220, 76%, 61%) |
| HSV | hsv(220, 66%, 91%) |
| CMYK | cmyk(65.8%, 44.2%, 0%, 9.4%) |
| CIE-LAB | lab(55.21, 15.53, -56.72) |
| CIE-LCH | lch(55.21, 58.81, 285.31°) |
| OKLab | oklab(61.9% -0.0203 -0.1621) |
| OKLCH | oklch(61.9% 0.163 262.9) |
| XYZ | xyz(25.4934, 23.1298, 78.7068) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.29
Lightish Blue
#3D7AFD
ΔE00 3.09
Soft Blue
#6488EA
ΔE00 3.36
Clear Blue
#247AFD
ΔE00 3.44
Azure
#007FFF
ΔE00 3.93
Deep Sky Blue
#0D75F8
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F81E7 #E7B54F
analogous
#4FCDE7 #4F81E7 #694FE7
triadic
#4F81E7 #E74F81 #81E74F
tetradic
#4F81E7 #E74FCD #E7B54F #4FE769
square
#4F81E7 #E74FCD #E7B54F #4FE769
split-complementary
#4F81E7 #E7694F #CDE74F
monochromatic
#1745A5 #1E5CDB #4F81E7 #85A8EE #BBCEF6
Accessibility & contrast
On white
3.73
#4F81E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#4F81E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F81E7
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F81E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F81E7 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #4f81e7; /* rgb */ color: rgb(79, 129, 231); /* oklch */ color: oklch(61.9% 0.163 262.9);
Tailwind
colors: {
custom: {
50: '#8fa5ef',
500: '#4f81e7',
950: '#000000',
},
}SCSS
$custom: #4f81e7; $custom-light: #8fa5ef; $custom-dark: #000000;
JSON
{
"hex": "#4f81e7",
"rgb": {
"r": 79,
"g": 129,
"b": 231
},
"hsl": {
"h": 220.263,
"s": 76,
"l": 60.784
},
"oklch": {
"l": 0.61899,
"c": 0.16338,
"h": 262.9
},
"luminance": 0.23132
}Semantic roles & 50–950 ramp
primary
#4F81E7
secondary
#E6D3AC
accent
#950DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84