#4A5FDB#4A5FDB
#4A5FDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.190 H 271.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FDB |
|---|---|
| RGB | rgb(74, 95, 219) |
| HSL | hsl(231, 67%, 57%) |
| HSV | hsv(231, 66%, 86%) |
| CMYK | cmyk(66.2%, 56.6%, 0%, 14.1%) |
| CIE-LAB | lab(45.29, 31.69, -65.95) |
| CIE-LCH | lch(45.29, 73.17, 295.67°) |
| OKLab | oklab(54.07% 0.0043 -0.1898) |
| OKLCH | oklch(54.07% 0.19 271.3) |
| XYZ | xyz(19.6981, 14.7529, 68.8136) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Azul
#1D5DEC
ΔE00 3.50
Royal Blue
#4169E1
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.52
Bright Blue
#0165FC
ΔE00 5.39
Electric Blue
#0652FF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FDB #DBC64A
analogous
#4AA8DB #4A5FDB #7D4ADB
triadic
#4A5FDB #DB4A5F #5FDB4A
tetradic
#4A5FDB #DB4AA8 #DBC64A #4ADB7D
square
#4A5FDB #DB4AA8 #DBC64A #4ADB7D
split-complementary
#4A5FDB #DB7D4A #A8DB4A
monochromatic
#1C2D8E #263DC1 #4A5FDB #7D8CE5 #B0B9EF
Accessibility & contrast
On white
5.32
#4A5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#4A5FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FDB
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FDB | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4a5fdb; /* rgb */ color: rgb(74, 95, 219); /* oklch */ color: oklch(54.1% 0.190 271.3);
Tailwind
colors: {
custom: {
50: '#8c8ce7',
500: '#4a5fdb',
950: '#000000',
},
}SCSS
$custom: #4a5fdb; $custom-light: #8c8ce7; $custom-dark: #000000;
JSON
{
"hex": "#4a5fdb",
"rgb": {
"r": 74,
"g": 95,
"b": 219
},
"hsl": {
"h": 231.31,
"s": 66.82,
"l": 57.451
},
"oklch": {
"l": 0.54065,
"c": 0.18989,
"h": 271.3
},
"luminance": 0.14755
}Semantic roles & 50–950 ramp
primary
#4A5FDB
secondary
#DED5A3
accent
#D13EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84