#4B51CE#4B51CE
#4B51CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.190 H 275.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51CE |
|---|---|
| RGB | rgb(75, 81, 206) |
| HSL | hsl(237, 57%, 55%) |
| HSV | hsv(237, 64%, 81%) |
| CMYK | cmyk(63.6%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(40.95, 36.12, -65.56) |
| CIE-LCH | lch(40.95, 74.85, 298.85°) |
| OKLab | oklab(50.55% 0.0172 -0.1888) |
| OKLCH | oklch(50.55% 0.19 275.2) |
| XYZ | xyz(16.9810, 11.8355, 59.7702) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.54
Iris
#6258C4
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 5.35
Blue (survey)
#0343DF
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51CE #CEC84B
analogous
#4B92CE #4B51CE #874BCE
triadic
#4B51CE #CE4B51 #51CE4B
tetradic
#4B51CE #CE4B92 #CEC84B #4BCE87
square
#4B51CE #CE4B92 #CEC84B #4BCE87
split-complementary
#4B51CE #CE874B #92CE4B
monochromatic
#22267D #2F35AD #4B51CE #7B80DB #ABAEE8
Accessibility & contrast
On white
6.24
#4B51CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4B51CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51CE
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51CE | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4b51ce; /* rgb */ color: rgb(75, 81, 206); /* oklch */ color: oklch(50.6% 0.190 275.2);
Tailwind
colors: {
custom: {
50: '#8b82de',
500: '#4b51ce',
950: '#000000',
},
}SCSS
$custom: #4b51ce; $custom-light: #8b82de; $custom-dark: #000000;
JSON
{
"hex": "#4b51ce",
"rgb": {
"r": 75,
"g": 81,
"b": 206
},
"hsl": {
"h": 237.252,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.50553,
"c": 0.18958,
"h": 275.2
},
"luminance": 0.11837
}Semantic roles & 50–950 ramp
primary
#4B51CE
secondary
#D6D39F
accent
#D947E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83