#4B5ED8#4B5ED8
#4B5ED8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.187 H 271.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4B5ED8 |
|---|---|
| RGB | rgb(75, 94, 216) |
| HSL | hsl(232, 64%, 57%) |
| HSV | hsv(232, 65%, 85%) |
| CMYK | cmyk(65.3%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(44.88, 31.44, -64.91) |
| CIE-LCH | lch(44.88, 72.12, 295.84°) |
| OKLab | oklab(53.7% 0.0061 -0.1868) |
| OKLCH | oklch(53.7% 0.187 271.9) |
| XYZ | xyz(19.2949, 14.4574, 66.7262) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Azul
#1D5DEC
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 4.33
Iris
#6258C4
ΔE00 5.22
Electric Blue
#0652FF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B5ED8 #D8C54B
analogous
#4BA5D8 #4B5ED8 #7F4BD8
triadic
#4B5ED8 #D84B5E #5ED84B
tetradic
#4B5ED8 #D84BA5 #D8C54B #4BD87F
square
#4B5ED8 #D84BA5 #D8C54B #4BD87F
split-complementary
#4B5ED8 #D87F4B #A5D84B
monochromatic
#1E2D8B #293DBD #4B5ED8 #7D8BE3 #B0B8EE
Accessibility & contrast
On white
5.40
#4B5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4B5ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B5ED8
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B5ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B5ED8 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4b5ed8; /* rgb */ color: rgb(75, 94, 216); /* oklch */ color: oklch(53.7% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#8c8be5',
500: '#4b5ed8',
950: '#000000',
},
}SCSS
$custom: #4b5ed8; $custom-light: #8c8be5; $custom-dark: #000000;
JSON
{
"hex": "#4b5ed8",
"rgb": {
"r": 75,
"g": 94,
"b": 216
},
"hsl": {
"h": 231.915,
"s": 64.384,
"l": 57.059
},
"oklch": {
"l": 0.53703,
"c": 0.18686,
"h": 271.9
},
"luminance": 0.14459
}Semantic roles & 50–950 ramp
primary
#4B5ED8
secondary
#DCD4A3
accent
#D140E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84