#4A7BE7#4A7BE7
#4A7BE7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.172 H 263.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7BE7 |
|---|---|
| RGB | rgb(74, 123, 231) |
| HSL | hsl(221, 77%, 60%) |
| HSV | hsv(221, 68%, 91%) |
| CMYK | cmyk(68%, 46.8%, 0%, 9.4%) |
| CIE-LAB | lab(53.37, 18.43, -59.68) |
| CIE-LCH | lch(53.37, 62.46, 287.17°) |
| OKLab | oklab(60.43% -0.0189 -0.171) |
| OKLCH | oklch(60.43% 0.172 263.7) |
| XYZ | xyz(24.3257, 21.3888, 78.4323) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.30
Clear Blue
#247AFD
ΔE00 2.82
Dodger Blue
#3E82FC
ΔE00 3.40
Deep Sky Blue
#0D75F8
ΔE00 3.53
Azure
#007FFF
ΔE00 4.36
Cornflower Blue
#5170D7
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7BE7 #E7B64A
analogous
#4AC9E7 #4A7BE7 #684AE7
triadic
#4A7BE7 #E74A7B #7BE74A
tetradic
#4A7BE7 #E74AC9 #E7B64A #4AE768
square
#4A7BE7 #E74AC9 #E7B64A #4AE768
split-complementary
#4A7BE7 #E7684A #C9E74A
monochromatic
#1541A1 #1D57D7 #4A7BE7 #80A2EE #B6CAF5
Accessibility & contrast
On white
3.98
#4A7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#4A7BE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7BE7
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7BE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7BE7 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7be7; /* rgb */ color: rgb(74, 123, 231); /* oklch */ color: oklch(60.4% 0.172 263.7);
Tailwind
colors: {
custom: {
50: '#8da0ef',
500: '#4a7be7',
950: '#000000',
},
}SCSS
$custom: #4a7be7; $custom-light: #8da0ef; $custom-dark: #000000;
JSON
{
"hex": "#4a7be7",
"rgb": {
"r": 74,
"g": 123,
"b": 231
},
"hsl": {
"h": 221.274,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.60433,
"c": 0.17202,
"h": 263.7
},
"luminance": 0.21391
}Semantic roles & 50–950 ramp
primary
#4A7BE7
secondary
#E5D2A8
accent
#B835F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84