#4762CE#4762CE
#4762CE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.170 H 269.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4762CE |
|---|---|
| RGB | rgb(71, 98, 206) |
| HSL | hsl(228, 58%, 54%) |
| HSV | hsv(228, 66%, 81%) |
| CMYK | cmyk(65.5%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(44.98, 24.82, -59.04) |
| CIE-LCH | lch(44.98, 64.04, 292.80°) |
| OKLab | oklab(53.5% -0.0019 -0.1695) |
| OKLCH | oklch(53.5% 0.17 269.3) |
| XYZ | xyz(18.1030, 14.5295, 60.2310) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.47
Azul
#1D5DEC
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.62
Bright Blue
#0165FC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762CE #CEB347
analogous
#47A6CE #4762CE #7047CE
triadic
#4762CE #CE4762 #62CE47
tetradic
#4762CE #CE47A6 #CEB347 #47CE70
square
#4762CE #CE47A6 #CEB347 #47CE70
split-complementary
#4762CE #CE7047 #A6CE47
monochromatic
#21327A #2D46AA #4762CE #778BDB #A8B4E8
Accessibility & contrast
On white
5.38
#4762CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4762CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762CE
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762CE | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4762ce; /* rgb */ color: rgb(71, 98, 206); /* oklch */ color: oklch(53.5% 0.170 269.3);
Tailwind
colors: {
custom: {
50: '#888ede',
500: '#4762ce',
950: '#000000',
},
}SCSS
$custom: #4762ce; $custom-light: #888ede; $custom-dark: #000000;
JSON
{
"hex": "#4762ce",
"rgb": {
"r": 71,
"g": 98,
"b": 206
},
"hsl": {
"h": 228,
"s": 57.94,
"l": 54.314
},
"oklch": {
"l": 0.53498,
"c": 0.16953,
"h": 269.3
},
"luminance": 0.14531
}Semantic roles & 50–950 ramp
primary
#4762CE
secondary
#D5CA9C
accent
#C247E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83