#4A7FCF#4A7FCF
#4A7FCF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.135 H 258.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FCF |
|---|---|
| RGB | rgb(74, 127, 207) |
| HSL | hsl(216, 58%, 55%) |
| HSV | hsv(216, 64%, 81%) |
| CMYK | cmyk(64.3%, 38.6%, 0%, 18.8%) |
| CIE-LAB | lab(53.10, 7.62, -46.59) |
| CIE-LCH | lch(53.10, 47.21, 279.29°) |
| OKLab | oklab(59.78% -0.0271 -0.1325) |
| OKLCH | oklch(59.78% 0.135 258.4) |
| XYZ | xyz(21.6719, 21.1375, 61.9572) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.10
Cool Blue
#4984B8
ΔE00 4.24
Off Blue
#5684AE
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 4.53
Azure
#007FFF
ΔE00 4.55
Dodger Blue
#3E82FC
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FCF #CF9A4A
analogous
#4AC2CF #4A7FCF #574ACF
triadic
#4A7FCF #CF4A7F #7FCF4A
tetradic
#4A7FCF #CF4AC2 #CF9A4A #4ACF57
square
#4A7FCF #CF4AC2 #CF9A4A #4ACF57
split-complementary
#4A7FCF #CF574A #C2CF4A
monochromatic
#21467D #2E61AE #4A7FCF #7AA1DC #ABC3E9
Accessibility & contrast
On white
4.02
#4A7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#4A7FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FCF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FCF | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7fcf; /* rgb */ color: rgb(74, 127, 207); /* oklch */ color: oklch(59.8% 0.135 258.4);
Tailwind
colors: {
custom: {
50: '#89a3de',
500: '#4a7fcf',
950: '#000000',
},
}SCSS
$custom: #4a7fcf; $custom-light: #89a3de; $custom-dark: #000000;
JSON
{
"hex": "#4a7fcf",
"rgb": {
"r": 74,
"g": 127,
"b": 207
},
"hsl": {
"h": 216.09,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.59779,
"c": 0.13525,
"h": 258.4
},
"luminance": 0.2114
}Semantic roles & 50–950 ramp
primary
#4A7FCF
secondary
#D6C09F
accent
#A446E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83