#4B5FD7#4B5FD7
#4B5FD7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.184 H 271.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4B5FD7 |
|---|---|
| RGB | rgb(75, 95, 215) |
| HSL | hsl(231, 64%, 57%) |
| HSV | hsv(231, 65%, 84%) |
| CMYK | cmyk(65.1%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(45.06, 30.47, -64.05) |
| CIE-LCH | lch(45.06, 70.93, 295.44°) |
| OKLab | oklab(53.81% 0.0052 -0.1842) |
| OKLCH | oklch(53.81% 0.184 271.6) |
| XYZ | xyz(19.2555, 14.5848, 66.0772) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.65
Azul
#1D5DEC
ΔE00 3.79
Royal Blue
#4169E1
ΔE00 4.05
Dark Periwinkle
#665FD1
ΔE00 4.40
Iris
#6258C4
ΔE00 5.38
Bright Blue
#0165FC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B5FD7 #D7C34B
analogous
#4BA5D7 #4B5FD7 #7D4BD7
triadic
#4B5FD7 #D74B5F #5FD74B
tetradic
#4B5FD7 #D74BA5 #D7C34B #4BD77D
square
#4B5FD7 #D74BA5 #D7C34B #4BD77D
split-complementary
#4B5FD7 #D77D4B #A5D74B
monochromatic
#1E2E89 #2A3EBB #4B5FD7 #7D8CE2 #AFB8ED
Accessibility & contrast
On white
5.36
#4B5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4B5FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B5FD7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B5FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B5FD7 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4b5fd7; /* rgb */ color: rgb(75, 95, 215); /* oklch */ color: oklch(53.8% 0.184 271.6);
Tailwind
colors: {
custom: {
50: '#8c8ce4',
500: '#4b5fd7',
950: '#000000',
},
}SCSS
$custom: #4b5fd7; $custom-light: #8c8ce4; $custom-dark: #000000;
JSON
{
"hex": "#4b5fd7",
"rgb": {
"r": 75,
"g": 95,
"b": 215
},
"hsl": {
"h": 231.429,
"s": 63.636,
"l": 56.863
},
"oklch": {
"l": 0.53814,
"c": 0.18429,
"h": 271.6
},
"luminance": 0.14587
}Semantic roles & 50–950 ramp
primary
#4B5FD7
secondary
#DBD3A2
accent
#CF41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84