#4A7FCA#4A7FCA
#4A7FCA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.129 H 257.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FCA |
|---|---|
| RGB | rgb(74, 127, 202) |
| HSL | hsl(215, 55%, 54%) |
| HSV | hsv(215, 63%, 79%) |
| CMYK | cmyk(63.4%, 37.1%, 0%, 20.8%) |
| CIE-LAB | lab(52.84, 5.90, -44.17) |
| CIE-LCH | lch(52.84, 44.57, 277.61°) |
| OKLab | oklab(59.49% -0.0283 -0.1254) |
| OKLCH | oklch(59.49% 0.129 257.3) |
| XYZ | xyz(21.0703, 20.8969, 58.7888) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.69
Cool Blue
#4984B8
ΔE00 3.81
Off Blue
#5684AE
ΔE00 4.17
Steel Blue
#4682B4
ΔE00 4.20
Dusty Blue
#5A86AD
ΔE00 4.83
Azure
#007FFF
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FCA #CA954A
analogous
#4ABFCA #4A7FCA #554ACA
triadic
#4A7FCA #CA4A7F #7FCA4A
tetradic
#4A7FCA #CA4ABF #CA954A #4ACA55
square
#4A7FCA #CA4ABF #CA954A #4ACA55
split-complementary
#4A7FCA #CA554A #BFCA4A
monochromatic
#234677 #3161A6 #4A7FCA #79A0D8 #A9C2E6
Accessibility & contrast
On white
4.05
#4A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4A7FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FCA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FCA | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#4C79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7fca; /* rgb */ color: rgb(74, 127, 202); /* oklch */ color: oklch(59.5% 0.129 257.3);
Tailwind
colors: {
custom: {
50: '#88a3da',
500: '#4a7fca',
950: '#000000',
},
}SCSS
$custom: #4a7fca; $custom-light: #88a3da; $custom-dark: #000000;
JSON
{
"hex": "#4a7fca",
"rgb": {
"r": 74,
"g": 127,
"b": 202
},
"hsl": {
"h": 215.156,
"s": 54.701,
"l": 54.118
},
"oklch": {
"l": 0.59488,
"c": 0.12857,
"h": 257.3
},
"luminance": 0.20899
}Semantic roles & 50–950 ramp
primary
#4A7FCA
secondary
#D3BD9D
accent
#A14ADE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83