#4762CB#4762CB
#4762CB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.165 H 269.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4762CB |
|---|---|
| RGB | rgb(71, 98, 203) |
| HSL | hsl(228, 56%, 54%) |
| HSV | hsv(228, 65%, 80%) |
| CMYK | cmyk(65%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(44.78, 23.77, -57.64) |
| CIE-LCH | lch(44.78, 62.35, 292.41°) |
| OKLab | oklab(53.28% -0.0022 -0.1654) |
| OKLCH | oklch(53.28% 0.165 269.2) |
| XYZ | xyz(17.7420, 14.3851, 58.3300) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.73
Azul
#1D5DEC
ΔE00 4.43
Warm Blue
#4B57DB
ΔE00 4.57
Cornflower Blue
#5170D7
ΔE00 5.10
French Blue
#436BAD
ΔE00 5.61
Dark Periwinkle
#665FD1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762CB #CBB047
analogous
#47A4CB #4762CB #6E47CB
triadic
#4762CB #CB4762 #62CB47
tetradic
#4762CB #CB47A4 #CBB047 #47CB6E
square
#4762CB #CB47A4 #CBB047 #47CB6E
split-complementary
#4762CB #CB6E47 #A4CB47
monochromatic
#213376 #2F47A6 #4762CB #778BD8 #A6B3E6
Accessibility & contrast
On white
5.42
#4762CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#4762CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762CB
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762CB | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4762cb; /* rgb */ color: rgb(71, 98, 203); /* oklch */ color: oklch(53.3% 0.165 269.2);
Tailwind
colors: {
custom: {
50: '#888edb',
500: '#4762cb',
950: '#000000',
},
}SCSS
$custom: #4762cb; $custom-light: #888edb; $custom-dark: #000000;
JSON
{
"hex": "#4762cb",
"rgb": {
"r": 71,
"g": 98,
"b": 203
},
"hsl": {
"h": 227.727,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.5328,
"c": 0.16542,
"h": 269.2
},
"luminance": 0.14387
}Semantic roles & 50–950 ramp
primary
#4762CB
secondary
#D3C89B
accent
#C049DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83