#4A7BC7#4A7BC7
#4A7BC7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.129 H 258.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7BC7 |
|---|---|
| RGB | rgb(74, 123, 199) |
| HSL | hsl(216, 53%, 54%) |
| HSV | hsv(216, 63%, 78%) |
| CMYK | cmyk(62.8%, 38.2%, 0%, 22%) |
| CIE-LAB | lab(51.55, 7.30, -44.51) |
| CIE-LCH | lch(51.55, 45.10, 279.31°) |
| OKLab | oklab(58.43% -0.0248 -0.1264) |
| OKLCH | oklch(58.43% 0.129 258.9) |
| XYZ | xyz(20.2121, 19.7434, 56.7674) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.20
Cool Blue
#4984B8
ΔE00 4.78
Off Blue
#5684AE
ΔE00 4.82
Steel Blue
#4682B4
ΔE00 4.91
Deep Sky Blue
#0D75F8
ΔE00 4.99
Bluish
#2976BB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7BC7 #C7964A
analogous
#4AB9C7 #4A7BC7 #574AC7
triadic
#4A7BC7 #C74A7B #7BC74A
tetradic
#4A7BC7 #C74AB9 #C7964A #4AC757
square
#4A7BC7 #C74AB9 #C7964A #4AC757
split-complementary
#4A7BC7 #C7574A #B9C74A
monochromatic
#244373 #325EA2 #4A7BC7 #799DD5 #A7BFE4
Accessibility & contrast
On white
4.24
#4A7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#4A7BC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7BC7
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7BC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7BC7 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4a7bc7; /* rgb */ color: rgb(74, 123, 199); /* oklch */ color: oklch(58.4% 0.129 258.9);
Tailwind
colors: {
custom: {
50: '#88a0d8',
500: '#4a7bc7',
950: '#000000',
},
}SCSS
$custom: #4a7bc7; $custom-light: #88a0d8; $custom-dark: #000000;
JSON
{
"hex": "#4a7bc7",
"rgb": {
"r": 74,
"g": 123,
"b": 199
},
"hsl": {
"h": 216.48,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.58433,
"c": 0.12887,
"h": 258.9
},
"luminance": 0.19745
}Semantic roles & 50–950 ramp
primary
#4A7BC7
secondary
#D1BC9C
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83