#4A7FDD#4A7FDD
#4A7FDD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.154 H 261.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FDD |
|---|---|
| RGB | rgb(74, 127, 221) |
| HSL | hsl(218, 68%, 58%) |
| HSV | hsv(218, 67%, 87%) |
| CMYK | cmyk(66.5%, 42.5%, 0%, 13.3%) |
| CIE-LAB | lab(53.87, 12.48, -53.27) |
| CIE-LCH | lch(53.87, 54.71, 283.18°) |
| OKLab | oklab(60.63% -0.0242 -0.1521) |
| OKLCH | oklch(60.63% 0.154 261) |
| XYZ | xyz(23.4599, 21.8527, 71.3742) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.30
Clear Blue
#247AFD
ΔE00 3.45
Lightish Blue
#3D7AFD
ΔE00 3.70
Azure
#007FFF
ΔE00 3.82
Deep Sky Blue
#0D75F8
ΔE00 4.27
Soft Blue
#6488EA
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FDD #DDA84A
analogous
#4AC9DD #4A7FDD #5E4ADD
triadic
#4A7FDD #DD4A7F #7FDD4A
tetradic
#4A7FDD #DD4AC9 #DDA84A #4ADD5E
square
#4A7FDD #DD4AC9 #DDA84A #4ADD5E
split-complementary
#4A7FDD #DD5E4A #C9DD4A
monochromatic
#1B4691 #255FC5 #4A7FDD #7EA3E7 #B1C8F0
Accessibility & contrast
On white
3.91
#4A7FDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#4A7FDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FDD
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FDD | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4a7fdd; /* rgb */ color: rgb(74, 127, 221); /* oklch */ color: oklch(60.6% 0.154 261.0);
Tailwind
colors: {
custom: {
50: '#8ba3e8',
500: '#4a7fdd',
950: '#000000',
},
}SCSS
$custom: #4a7fdd; $custom-light: #8ba3e8; $custom-dark: #000000;
JSON
{
"hex": "#4a7fdd",
"rgb": {
"r": 74,
"g": 127,
"b": 221
},
"hsl": {
"h": 218.367,
"s": 68.372,
"l": 57.843
},
"oklch": {
"l": 0.60626,
"c": 0.15399,
"h": 261
},
"luminance": 0.21855
}Semantic roles & 50–950 ramp
primary
#4A7FDD
secondary
#DFCAA4
accent
#AC3DEB
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84