#4A7CCB#4A7CCB
#4A7CCB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.133 H 259.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CCB |
|---|---|
| RGB | rgb(74, 124, 203) |
| HSL | hsl(217, 55%, 54%) |
| HSV | hsv(217, 64%, 80%) |
| CMYK | cmyk(63.5%, 38.9%, 0%, 20.4%) |
| CIE-LAB | lab(52.04, 8.06, -46.00) |
| CIE-LCH | lch(52.04, 46.71, 279.94°) |
| OKLab | oklab(58.89% -0.025 -0.1308) |
| OKLCH | oklch(58.89% 0.133 259.2) |
| XYZ | xyz(20.8074, 20.1810, 59.2871) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.54
Cool Blue
#4984B8
ΔE00 4.72
Deep Sky Blue
#0D75F8
ΔE00 4.78
Off Blue
#5684AE
ΔE00 4.80
Clear Blue
#247AFD
ΔE00 4.84
Steel Blue
#4682B4
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CCB #CB994A
analogous
#4ABDCB #4A7CCB #594ACB
triadic
#4A7CCB #CB4A7C #7CCB4A
tetradic
#4A7CCB #CB4ABD #CB994A #4ACB59
square
#4A7CCB #CB4ABD #CB994A #4ACB59
split-complementary
#4A7CCB #CB594A #BDCB4A
monochromatic
#234478 #305EA8 #4A7CCB #7A9ED9 #A9C1E6
Accessibility & contrast
On white
4.17
#4A7CCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#4A7CCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CCB
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CCB | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4a7ccb; /* rgb */ color: rgb(74, 124, 203); /* oklch */ color: oklch(58.9% 0.133 259.2);
Tailwind
colors: {
custom: {
50: '#88a1db',
500: '#4a7ccb',
950: '#000000',
},
}SCSS
$custom: #4a7ccb; $custom-light: #88a1db; $custom-dark: #000000;
JSON
{
"hex": "#4a7ccb",
"rgb": {
"r": 74,
"g": 124,
"b": 203
},
"hsl": {
"h": 216.744,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.58887,
"c": 0.13317,
"h": 259.2
},
"luminance": 0.20183
}Semantic roles & 50–950 ramp
primary
#4A7CCB
secondary
#D4BF9D
accent
#A549DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83