#4B5FE1#4B5FE1
#4B5FE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.198 H 271.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4B5FE1 |
|---|---|
| RGB | rgb(75, 95, 225) |
| HSL | hsl(232, 71%, 59%) |
| HSV | hsv(232, 67%, 88%) |
| CMYK | cmyk(66.7%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(45.79, 33.90, -68.55) |
| CIE-LCH | lch(45.79, 76.48, 296.31°) |
| OKLab | oklab(54.59% 0.0054 -0.1974) |
| OKLCH | oklch(54.59% 0.198 271.6) |
| XYZ | xyz(20.5799, 15.1146, 73.0524) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.69
Azul
#1D5DEC
ΔE00 3.49
Royal Blue
#4169E1
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.49
Electric Blue
#0652FF
ΔE00 5.12
Bright Blue
#0165FC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B5FE1 #E1CD4B
analogous
#4BAAE1 #4B5FE1 #824BE1
triadic
#4B5FE1 #E14B5F #5FE14B
tetradic
#4B5FE1 #E14BAA #E1CD4B #4BE182
square
#4B5FE1 #E14BAA #E1CD4B #4BE182
split-complementary
#4B5FE1 #E1824B #AAE14B
monochromatic
#192A98 #2239CD #4B5FE1 #7F8EEA #B4BCF2
Accessibility & contrast
On white
5.22
#4B5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4B5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B5FE1
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B5FE1 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4b5fe1; /* rgb */ color: rgb(75, 95, 225); /* oklch */ color: oklch(54.6% 0.198 271.6);
Tailwind
colors: {
custom: {
50: '#8e8ceb',
500: '#4b5fe1',
950: '#000000',
},
}SCSS
$custom: #4b5fe1; $custom-light: #8e8ceb; $custom-dark: #000000;
JSON
{
"hex": "#4b5fe1",
"rgb": {
"r": 75,
"g": 95,
"b": 225
},
"hsl": {
"h": 232,
"s": 71.429,
"l": 58.824
},
"oklch": {
"l": 0.54589,
"c": 0.19752,
"h": 271.6
},
"luminance": 0.15117
}Semantic roles & 50–950 ramp
primary
#4B5FE1
secondary
#E1DAA6
accent
#D63AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84