#4A7BCA#4A7BCA
#4A7BCA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.133 H 259.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7BCA |
|---|---|
| RGB | rgb(74, 123, 202) |
| HSL | hsl(217, 55%, 54%) |
| HSV | hsv(217, 63%, 79%) |
| CMYK | cmyk(63.4%, 39.1%, 0%, 20.8%) |
| CIE-LAB | lab(51.71, 8.33, -45.97) |
| CIE-LCH | lch(51.71, 46.72, 280.27°) |
| OKLab | oklab(58.61% -0.0242 -0.1307) |
| OKLCH | oklch(58.61% 0.133 259.5) |
| XYZ | xyz(20.5639, 19.8841, 58.6200) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.46
Deep Sky Blue
#0D75F8
ΔE00 4.79
Cool Blue
#4984B8
ΔE00 4.96
Clear Blue
#247AFD
ΔE00 4.97
Off Blue
#5684AE
ΔE00 4.97
Cornflower Blue
#5170D7
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7BCA #CA994A
analogous
#4ABBCA #4A7BCA #594ACA
triadic
#4A7BCA #CA4A7B #7BCA4A
tetradic
#4A7BCA #CA4ABB #CA994A #4ACA59
square
#4A7BCA #CA4ABB #CA994A #4ACA59
split-complementary
#4A7BCA #CA594A #BBCA4A
monochromatic
#234377 #315EA6 #4A7BCA #799ED8 #A9C0E6
Accessibility & contrast
On white
4.22
#4A7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#4A7BCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7BCA
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7BCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7BCA | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4a7bca; /* rgb */ color: rgb(74, 123, 202); /* oklch */ color: oklch(58.6% 0.133 259.5);
Tailwind
colors: {
custom: {
50: '#88a0da',
500: '#4a7bca',
950: '#000000',
},
}SCSS
$custom: #4a7bca; $custom-light: #88a0da; $custom-dark: #000000;
JSON
{
"hex": "#4a7bca",
"rgb": {
"r": 74,
"g": 123,
"b": 202
},
"hsl": {
"h": 217.031,
"s": 54.701,
"l": 54.118
},
"oklch": {
"l": 0.58609,
"c": 0.13293,
"h": 259.5
},
"luminance": 0.19886
}Semantic roles & 50–950 ramp
primary
#4A7BCA
secondary
#D3BE9D
accent
#A54ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83