#4B5ED9#4B5ED9
#4B5ED9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.188 H 271.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4B5ED9 |
|---|---|
| RGB | rgb(75, 94, 217) |
| HSL | hsl(232, 65%, 57%) |
| HSV | hsv(232, 65%, 85%) |
| CMYK | cmyk(65.4%, 56.7%, 0%, 14.9%) |
| CIE-LAB | lab(44.95, 31.78, -65.36) |
| CIE-LCH | lch(44.95, 72.68, 295.93°) |
| OKLab | oklab(53.78% 0.0061 -0.1881) |
| OKLCH | oklch(53.78% 0.188 271.9) |
| XYZ | xyz(19.4245, 14.5093, 67.4091) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Azul
#1D5DEC
ΔE00 3.73
Royal Blue
#4169E1
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 4.31
Iris
#6258C4
ΔE00 5.27
Electric Blue
#0652FF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B5ED9 #D9C64B
analogous
#4BA5D9 #4B5ED9 #7F4BD9
triadic
#4B5ED9 #D94B5E #5ED94B
tetradic
#4B5ED9 #D94BA5 #D9C64B #4BD97F
square
#4B5ED9 #D94BA5 #D9C64B #4BD97F
split-complementary
#4B5ED9 #D97F4B #A5D94B
monochromatic
#1E2C8C #283CBF #4B5ED9 #7E8BE4 #B0B8EE
Accessibility & contrast
On white
5.38
#4B5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4B5ED9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B5ED9
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B5ED9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B5ED9 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4b5ed9; /* rgb */ color: rgb(75, 94, 217); /* oklch */ color: oklch(53.8% 0.188 271.9);
Tailwind
colors: {
custom: {
50: '#8c8be6',
500: '#4b5ed9',
950: '#000000',
},
}SCSS
$custom: #4b5ed9; $custom-light: #8c8be6; $custom-dark: #000000;
JSON
{
"hex": "#4b5ed9",
"rgb": {
"r": 75,
"g": 94,
"b": 217
},
"hsl": {
"h": 231.972,
"s": 65.138,
"l": 57.255
},
"oklch": {
"l": 0.53781,
"c": 0.18819,
"h": 271.9
},
"luminance": 0.14511
}Semantic roles & 50–950 ramp
primary
#4B5ED9
secondary
#DDD5A3
accent
#D240E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84