#4A7CDF#4A7CDF
#4A7CDF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.160 H 262.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CDF |
|---|---|
| RGB | rgb(74, 124, 223) |
| HSL | hsl(220, 70%, 58%) |
| HSV | hsv(220, 67%, 87%) |
| CMYK | cmyk(66.8%, 44.4%, 0%, 12.5%) |
| CIE-LAB | lab(53.16, 15.01, -55.52) |
| CIE-LCH | lch(53.16, 57.52, 285.13°) |
| OKLab | oklab(60.12% -0.021 -0.1587) |
| OKLCH | oklch(60.12% 0.16 262.5) |
| XYZ | xyz(23.3463, 21.1966, 72.6587) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.19
Clear Blue
#247AFD
ΔE00 3.22
Dodger Blue
#3E82FC
ΔE00 3.68
Deep Sky Blue
#0D75F8
ΔE00 3.75
Azure
#007FFF
ΔE00 4.28
Cornflower Blue
#5170D7
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CDF #DFAD4A
analogous
#4AC6DF #4A7CDF #624ADF
triadic
#4A7CDF #DF4A7C #7CDF4A
tetradic
#4A7CDF #DF4AC6 #DFAD4A #4ADF62
square
#4A7CDF #DF4AC6 #DFAD4A #4ADF62
split-complementary
#4A7CDF #DF624A #C6DF4A
monochromatic
#1A4394 #235BC8 #4A7CDF #7EA2E8 #B2C7F1
Accessibility & contrast
On white
4.01
#4A7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#4A7CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CDF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CDF | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#3179DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7cdf; /* rgb */ color: rgb(74, 124, 223); /* oklch */ color: oklch(60.1% 0.160 262.5);
Tailwind
colors: {
custom: {
50: '#8ca1e9',
500: '#4a7cdf',
950: '#000000',
},
}SCSS
$custom: #4a7cdf; $custom-light: #8ca1e9; $custom-dark: #000000;
JSON
{
"hex": "#4a7cdf",
"rgb": {
"r": 74,
"g": 124,
"b": 223
},
"hsl": {
"h": 219.866,
"s": 69.953,
"l": 58.235
},
"oklch": {
"l": 0.60119,
"c": 0.16014,
"h": 262.5
},
"luminance": 0.21199
}Semantic roles & 50–950 ramp
primary
#4A7CDF
secondary
#E0CCA5
accent
#B13BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84