#4762DB#4762DB
#4762DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.187 H 269.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4762DB |
|---|---|
| RGB | rgb(71, 98, 219) |
| HSL | hsl(229, 67%, 57%) |
| HSV | hsv(229, 68%, 86%) |
| CMYK | cmyk(67.6%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(45.89, 29.37, -64.99) |
| CIE-LCH | lch(45.89, 71.32, 294.32°) |
| OKLab | oklab(54.47% -0.0011 -0.187) |
| OKLCH | oklch(54.47% 0.187 269.7) |
| XYZ | xyz(19.7480, 15.1875, 68.8949) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.75
Azul
#1D5DEC
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 3.77
Bright Blue
#0165FC
ΔE00 4.65
Cornflower Blue
#5170D7
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4762DB #DBC047
analogous
#47ACDB #4762DB #7647DB
triadic
#4762DB #DB4762 #62DB47
tetradic
#4762DB #DB47AC #DBC047 #47DB76
square
#4762DB #DB47AC #DBC047 #47DB76
split-complementary
#4762DB #DB7647 #ACDB47
monochromatic
#1B308C #2542BF #4762DB #7A8EE5 #ADB9EF
Accessibility & contrast
On white
5.20
#4762DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#4762DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4762DB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4762DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4762DB | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4762db; /* rgb */ color: rgb(71, 98, 219); /* oklch */ color: oklch(54.5% 0.187 269.7);
Tailwind
colors: {
custom: {
50: '#8b8ee7',
500: '#4762db',
950: '#000000',
},
}SCSS
$custom: #4762db; $custom-light: #8b8ee7; $custom-dark: #000000;
JSON
{
"hex": "#4762db",
"rgb": {
"r": 71,
"g": 98,
"b": 219
},
"hsl": {
"h": 229.054,
"s": 67.273,
"l": 56.863
},
"oklch": {
"l": 0.54468,
"c": 0.18705,
"h": 269.7
},
"luminance": 0.15189
}Semantic roles & 50–950 ramp
primary
#4762DB
secondary
#DDD2A1
accent
#CB3EEA
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84