#4762DE#4762DE
#4762DE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.191 H 269.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4762DE |
|---|---|
| RGB | rgb(71, 98, 222) |
| HSL | hsl(229, 70%, 57%) |
| HSV | hsv(229, 68%, 87%) |
| CMYK | cmyk(68%, 55.9%, 0%, 12.9%) |
| CIE-LAB | lab(46.11, 30.42, -66.35) |
| CIE-LCH | lch(46.11, 72.99, 294.63°) |
| OKLab | oklab(54.7% -0.001 -0.191) |
| OKLCH | oklch(54.7% 0.191 269.7) |
| XYZ | xyz(20.1465, 15.3469, 70.9936) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.71
Azul
#1D5DEC
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 3.75
Bright Blue
#0165FC
ΔE00 4.44
Cornflower Blue
#5170D7
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762DE #DEC347
analogous
#47ADDE #4762DE #7847DE
triadic
#4762DE #DE4762 #62DE47
tetradic
#4762DE #DE47AD #DEC347 #47DE78
square
#4762DE #DE47AD #DEC347 #47DE78
split-complementary
#4762DE #DE7847 #ADDE47
monochromatic
#1A2F91 #2340C5 #4762DE #7B8EE7 #AFBBF1
Accessibility & contrast
On white
5.16
#4762DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#4762DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762DE
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762DE | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4762de; /* rgb */ color: rgb(71, 98, 222); /* oklch */ color: oklch(54.7% 0.191 269.7);
Tailwind
colors: {
custom: {
50: '#8b8ee9',
500: '#4762de',
950: '#000000',
},
}SCSS
$custom: #4762de; $custom-light: #8b8ee9; $custom-dark: #000000;
JSON
{
"hex": "#4762de",
"rgb": {
"r": 71,
"g": 98,
"b": 222
},
"hsl": {
"h": 229.272,
"s": 69.585,
"l": 57.451
},
"oklch": {
"l": 0.54698,
"c": 0.19103,
"h": 269.7
},
"luminance": 0.15349
}Semantic roles & 50–950 ramp
primary
#4762DE
secondary
#DFD4A2
accent
#CD3BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84