#4762CF#4762CF
#4762CF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.171 H 269.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4762CF |
|---|---|
| RGB | rgb(71, 98, 207) |
| HSL | hsl(228, 59%, 55%) |
| HSV | hsv(228, 66%, 81%) |
| CMYK | cmyk(65.7%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.05, 25.17, -59.50) |
| CIE-LCH | lch(45.05, 64.60, 292.93°) |
| OKLab | oklab(53.57% -0.0018 -0.1709) |
| OKLCH | oklch(53.57% 0.171 269.4) |
| XYZ | xyz(18.2249, 14.5783, 60.8728) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.39
Azul
#1D5DEC
ΔE00 4.06
Warm Blue
#4B57DB
ΔE00 4.27
Cornflower Blue
#5170D7
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.57
Bright Blue
#0165FC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762CF #CFB447
analogous
#47A6CF #4762CF #7047CF
triadic
#4762CF #CF4762 #62CF47
tetradic
#4762CF #CF47A6 #CFB447 #47CF70
square
#4762CF #CF47A6 #CFB447 #47CF70
split-complementary
#4762CF #CF7047 #A6CF47
monochromatic
#20327B #2D46AC #4762CF #788BDC #A8B5E8
Accessibility & contrast
On white
5.36
#4762CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4762CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4762cf; /* rgb */ color: rgb(71, 98, 207); /* oklch */ color: oklch(53.6% 0.171 269.4);
Tailwind
colors: {
custom: {
50: '#898ede',
500: '#4762cf',
950: '#000000',
},
}SCSS
$custom: #4762cf; $custom-light: #898ede; $custom-dark: #000000;
JSON
{
"hex": "#4762cf",
"rgb": {
"r": 71,
"g": 98,
"b": 207
},
"hsl": {
"h": 228.088,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.53571,
"c": 0.17089,
"h": 269.4
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#4762CF
secondary
#D6CA9C
accent
#C346E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83