#4A7FCB#4A7FCB
#4A7FCB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.130 H 257.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FCB |
|---|---|
| RGB | rgb(74, 127, 203) |
| HSL | hsl(215, 55%, 54%) |
| HSV | hsv(215, 64%, 80%) |
| CMYK | cmyk(63.5%, 37.4%, 0%, 20.4%) |
| CIE-LAB | lab(52.89, 6.24, -44.66) |
| CIE-LCH | lch(52.89, 45.09, 277.96°) |
| OKLab | oklab(59.55% -0.028 -0.1268) |
| OKLCH | oklch(59.55% 0.13 257.5) |
| XYZ | xyz(21.1891, 20.9444, 59.4143) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.76
Cool Blue
#4984B8
ΔE00 3.90
Off Blue
#5684AE
ΔE00 4.24
Steel Blue
#4682B4
ΔE00 4.30
Azure
#007FFF
ΔE00 4.81
Clear Blue
#247AFD
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FCB #CB964A
analogous
#4AC0CB #4A7FCB #564ACB
triadic
#4A7FCB #CB4A7F #7FCB4A
tetradic
#4A7FCB #CB4AC0 #CB964A #4ACB56
square
#4A7FCB #CB4AC0 #CB964A #4ACB56
split-complementary
#4A7FCB #CB564A #C0CB4A
monochromatic
#234678 #3061A8 #4A7FCB #7AA1D9 #A9C2E6
Accessibility & contrast
On white
4.05
#4A7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#4A7FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FCB
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FCB | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7fcb; /* rgb */ color: rgb(74, 127, 203); /* oklch */ color: oklch(59.5% 0.130 257.5);
Tailwind
colors: {
custom: {
50: '#88a3db',
500: '#4a7fcb',
950: '#000000',
},
}SCSS
$custom: #4a7fcb; $custom-light: #88a3db; $custom-dark: #000000;
JSON
{
"hex": "#4a7fcb",
"rgb": {
"r": 74,
"g": 127,
"b": 203
},
"hsl": {
"h": 215.349,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.59546,
"c": 0.1299,
"h": 257.5
},
"luminance": 0.20946
}Semantic roles & 50–950 ramp
primary
#4A7FCB
secondary
#D4BD9D
accent
#A149DF
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83