#4D7FE8#4D7FE8
#4D7FE8 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.168 H 263.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7FE8 |
|---|---|
| RGB | rgb(77, 127, 232) |
| HSL | hsl(221, 77%, 61%) |
| HSV | hsv(221, 67%, 91%) |
| CMYK | cmyk(66.8%, 45.3%, 0%, 9%) |
| CIE-LAB | lab(54.64, 16.78, -58.20) |
| CIE-LCH | lch(54.64, 60.57, 286.09°) |
| OKLab | oklab(61.46% -0.0199 -0.1665) |
| OKLCH | oklch(61.46% 0.168 263.2) |
| XYZ | xyz(25.2103, 22.5802, 79.3581) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.46
Lightish Blue
#3D7AFD
ΔE00 2.61
Clear Blue
#247AFD
ΔE00 3.05
Soft Blue
#6488EA
ΔE00 3.79
Azure
#007FFF
ΔE00 3.92
Deep Sky Blue
#0D75F8
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7FE8 #E8B64D
analogous
#4DCCE8 #4D7FE8 #684DE8
triadic
#4D7FE8 #E84D7F #7FE84D
tetradic
#4D7FE8 #E84DCC #E8B64D #4DE868
square
#4D7FE8 #E84DCC #E8B64D #4DE868
split-complementary
#4D7FE8 #E8684D #CCE84D
monochromatic
#1544A5 #1C5ADB #4D7FE8 #83A6EF #B9CDF6
Accessibility & contrast
On white
3.81
#4D7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#4D7FE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7FE8
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7FE8 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4d7fe8; /* rgb */ color: rgb(77, 127, 232); /* oklch */ color: oklch(61.5% 0.168 263.2);
Tailwind
colors: {
custom: {
50: '#8fa3f0',
500: '#4d7fe8',
950: '#000000',
},
}SCSS
$custom: #4d7fe8; $custom-light: #8fa3f0; $custom-dark: #000000;
JSON
{
"hex": "#4d7fe8",
"rgb": {
"r": 77,
"g": 127,
"b": 232
},
"hsl": {
"h": 220.645,
"s": 77.114,
"l": 60.588
},
"oklch": {
"l": 0.61458,
"c": 0.1677,
"h": 263.2
},
"luminance": 0.22583
}Semantic roles & 50–950 ramp
primary
#4D7FE8
secondary
#E6D3AB
accent
#970CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85