#4A7EEB#4A7EEB
#4A7EEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.174 H 263.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7EEB |
|---|---|
| RGB | rgb(74, 126, 235) |
| HSL | hsl(221, 80%, 61%) |
| HSV | hsv(221, 69%, 92%) |
| CMYK | cmyk(68.5%, 46.4%, 0%, 7.8%) |
| CIE-LAB | lab(54.42, 17.99, -60.23) |
| CIE-LCH | lch(54.42, 62.86, 286.63°) |
| OKLab | oklab(61.31% -0.0209 -0.1725) |
| OKLCH | oklch(61.31% 0.174 263.1) |
| XYZ | xyz(25.2750, 22.3731, 81.5676) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.19
Dodger Blue
#3E82FC
ΔE00 2.36
Clear Blue
#247AFD
ΔE00 2.65
Azure
#007FFF
ΔE00 3.73
Deep Sky Blue
#0D75F8
ΔE00 3.93
Soft Blue
#6488EA
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7EEB #EBB74A
analogous
#4ACFEB #4A7EEB #664AEB
triadic
#4A7EEB #EB4A7E #7EEB4A
tetradic
#4A7EEB #EB4ACF #EBB74A #4AEB66
square
#4A7EEB #EB4ACF #EBB74A #4AEB66
split-complementary
#4A7EEB #EB664A #CFEB4A
monochromatic
#1343A8 #1959DF #4A7EEB #81A5F1 #B8CDF7
Accessibility & contrast
On white
3.84
#4A7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#4A7EEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7EEB
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7EEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7EEB | 1.00 | 3.84 | 5.48 | 5.48 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4a7eeb; /* rgb */ color: rgb(74, 126, 235); /* oklch */ color: oklch(61.3% 0.174 263.1);
Tailwind
colors: {
custom: {
50: '#8ea2f2',
500: '#4a7eeb',
950: '#000000',
},
}SCSS
$custom: #4a7eeb; $custom-light: #8ea2f2; $custom-dark: #000000;
JSON
{
"hex": "#4a7eeb",
"rgb": {
"r": 74,
"g": 126,
"b": 235
},
"hsl": {
"h": 220.621,
"s": 80.1,
"l": 60.588
},
"oklch": {
"l": 0.61314,
"c": 0.17382,
"h": 263.1
},
"luminance": 0.22376
}Semantic roles & 50–950 ramp
primary
#4A7EEB
secondary
#E7D3AA
accent
#9809DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85