#4A62DB#4A62DB
#4A62DB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.186 H 270.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A62DB |
|---|---|
| RGB | rgb(74, 98, 219) |
| HSL | hsl(230, 67%, 57%) |
| HSV | hsv(230, 66%, 86%) |
| CMYK | cmyk(66.2%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(46.05, 29.82, -64.73) |
| CIE-LCH | lch(46.05, 71.27, 294.73°) |
| OKLab | oklab(54.63% 0.0018 -0.1862) |
| OKLCH | oklch(54.63% 0.186 270.6) |
| XYZ | xyz(19.9736, 15.3038, 68.9054) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.94
Azul
#1D5DEC
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 3.63
Cornflower Blue
#5170D7
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 4.87
Bright Blue
#0165FC
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A62DB #DBC34A
analogous
#4AAADB #4A62DB #7B4ADB
triadic
#4A62DB #DB4A62 #62DB4A
tetradic
#4A62DB #DB4AAA #DBC34A #4ADB7B
square
#4A62DB #DB4AAA #DBC34A #4ADB7B
split-complementary
#4A62DB #DB7B4A #AADB4A
monochromatic
#1C2F8E #2640C1 #4A62DB #7D8EE5 #B0BBEF
Accessibility & contrast
On white
5.17
#4A62DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4A62DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A62DB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A62DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A62DB | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4a62db; /* rgb */ color: rgb(74, 98, 219); /* oklch */ color: oklch(54.6% 0.186 270.6);
Tailwind
colors: {
custom: {
50: '#8c8ee7',
500: '#4a62db',
950: '#000000',
},
}SCSS
$custom: #4a62db; $custom-light: #8c8ee7; $custom-dark: #000000;
JSON
{
"hex": "#4a62db",
"rgb": {
"r": 74,
"g": 98,
"b": 219
},
"hsl": {
"h": 230.069,
"s": 66.82,
"l": 57.451
},
"oklch": {
"l": 0.54629,
"c": 0.18622,
"h": 270.6
},
"luminance": 0.15306
}Semantic roles & 50–950 ramp
primary
#4A62DB
secondary
#DED4A3
accent
#CD3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84