#4762D9#4762D9
#4762D9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.184 H 269.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4762D9 |
|---|---|
| RGB | rgb(71, 98, 217) |
| HSL | hsl(229, 66%, 56%) |
| HSV | hsv(229, 67%, 85%) |
| CMYK | cmyk(67.3%, 54.8%, 0%, 14.9%) |
| CIE-LAB | lab(45.75, 28.67, -64.09) |
| CIE-LCH | lch(45.75, 70.21, 294.10°) |
| OKLab | oklab(54.32% -0.0012 -0.1844) |
| OKLCH | oklch(54.32% 0.184 269.6) |
| XYZ | xyz(19.4863, 15.0829, 67.5165) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.81
Azul
#1D5DEC
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 3.80
Cornflower Blue
#5170D7
ΔE00 4.76
Bright Blue
#0165FC
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762D9 #D9BE47
analogous
#47ABD9 #4762D9 #7547D9
triadic
#4762D9 #D94762 #62D947
tetradic
#4762D9 #D947AB #D9BE47 #47D975
square
#4762D9 #D947AB #D9BE47 #47D975
split-complementary
#4762D9 #D97547 #ABD947
monochromatic
#1C3089 #2742BC #4762D9 #7A8DE3 #ACB9EE
Accessibility & contrast
On white
5.23
#4762D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4762D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762D9
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762D9 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4762d9; /* rgb */ color: rgb(71, 98, 217); /* oklch */ color: oklch(54.3% 0.184 269.6);
Tailwind
colors: {
custom: {
50: '#8a8ee6',
500: '#4762d9',
950: '#000000',
},
}SCSS
$custom: #4762d9; $custom-light: #8a8ee6; $custom-dark: #000000;
JSON
{
"hex": "#4762d9",
"rgb": {
"r": 71,
"g": 98,
"b": 217
},
"hsl": {
"h": 228.904,
"s": 65.766,
"l": 56.471
},
"oklch": {
"l": 0.54316,
"c": 0.18438,
"h": 269.6
},
"luminance": 0.15085
}Semantic roles & 50–950 ramp
primary
#4762D9
secondary
#DCD1A0
accent
#C93FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84