#4A7BE5#4A7BE5
#4A7BE5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.169 H 263.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7BE5 |
|---|---|
| RGB | rgb(74, 123, 229) |
| HSL | hsl(221, 75%, 59%) |
| HSV | hsv(221, 68%, 90%) |
| CMYK | cmyk(67.7%, 46.3%, 0%, 10.2%) |
| CIE-LAB | lab(53.25, 17.73, -58.75) |
| CIE-LCH | lch(53.25, 61.37, 286.79°) |
| OKLab | oklab(60.3% -0.0192 -0.1683) |
| OKLCH | oklch(60.3% 0.169 263.5) |
| XYZ | xyz(24.0449, 21.2765, 76.9531) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.51
Clear Blue
#247AFD
ΔE00 2.91
Dodger Blue
#3E82FC
ΔE00 3.52
Deep Sky Blue
#0D75F8
ΔE00 3.54
Azure
#007FFF
ΔE00 4.38
Cornflower Blue
#5170D7
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7BE5 #E5B44A
analogous
#4AC9E5 #4A7BE5 #674AE5
triadic
#4A7BE5 #E54A7B #7BE54A
tetradic
#4A7BE5 #E54AC9 #E5B44A #4AE567
square
#4A7BE5 #E54AC9 #E5B44A #4AE567
split-complementary
#4A7BE5 #E5674A #C9E54A
monochromatic
#17419E #1E58D3 #4A7BE5 #80A2ED #B5C9F4
Accessibility & contrast
On white
4.00
#4A7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#4A7BE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7BE5
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7BE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7BE5 | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4487E9
Deuteranopia (green-blind)
#2379E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7be5; /* rgb */ color: rgb(74, 123, 229); /* oklch */ color: oklch(60.3% 0.169 263.5);
Tailwind
colors: {
custom: {
50: '#8da0ee',
500: '#4a7be5',
950: '#000000',
},
}SCSS
$custom: #4a7be5; $custom-light: #8da0ee; $custom-dark: #000000;
JSON
{
"hex": "#4a7be5",
"rgb": {
"r": 74,
"g": 123,
"b": 229
},
"hsl": {
"h": 221.032,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.60301,
"c": 0.16935,
"h": 263.5
},
"luminance": 0.21279
}Semantic roles & 50–950 ramp
primary
#4A7BE5
secondary
#E4D1A7
accent
#B636F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84