#4B5FDC#4B5FDC
#4B5FDC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.191 H 271.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4B5FDC |
|---|---|
| RGB | rgb(75, 95, 220) |
| HSL | hsl(232, 67%, 58%) |
| HSV | hsv(232, 66%, 86%) |
| CMYK | cmyk(65.9%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(45.42, 32.19, -66.31) |
| CIE-LCH | lch(45.42, 73.71, 295.89°) |
| OKLab | oklab(54.2% 0.0054 -0.1909) |
| OKLCH | oklch(54.2% 0.191 271.6) |
| XYZ | xyz(19.9078, 14.8458, 69.5127) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.58
Azul
#1D5DEC
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.40
Bright Blue
#0165FC
ΔE00 5.41
Electric Blue
#0652FF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B5FDC #DCC84B
analogous
#4BA8DC #4B5FDC #7F4BDC
triadic
#4B5FDC #DC4B5F #5FDC4B
tetradic
#4B5FDC #DC4BA8 #DCC84B #4BDC7F
square
#4B5FDC #DC4BA8 #DCC84B #4BDC7F
split-complementary
#4B5FDC #DC7F4B #A8DC4B
monochromatic
#1C2C91 #263CC4 #4B5FDC #7E8DE6 #B1BAF0
Accessibility & contrast
On white
5.29
#4B5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#4B5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B5FDC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B5FDC | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4b5fdc; /* rgb */ color: rgb(75, 95, 220); /* oklch */ color: oklch(54.2% 0.191 271.6);
Tailwind
colors: {
custom: {
50: '#8d8ce8',
500: '#4b5fdc',
950: '#000000',
},
}SCSS
$custom: #4b5fdc; $custom-light: #8d8ce8; $custom-dark: #000000;
JSON
{
"hex": "#4b5fdc",
"rgb": {
"r": 75,
"g": 95,
"b": 220
},
"hsl": {
"h": 231.724,
"s": 67.442,
"l": 57.843
},
"oklch": {
"l": 0.54198,
"c": 0.19094,
"h": 271.6
},
"luminance": 0.14848
}Semantic roles & 50–950 ramp
primary
#4B5FDC
secondary
#DED6A4
accent
#D23DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84