#4B51CD#4B51CD
#4B51CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.188 H 275.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51CD |
|---|---|
| RGB | rgb(75, 81, 205) |
| HSL | hsl(237, 57%, 55%) |
| HSV | hsv(237, 63%, 80%) |
| CMYK | cmyk(63.4%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(40.88, 35.78, -65.11) |
| CIE-LCH | lch(40.88, 74.30, 298.79°) |
| OKLab | oklab(50.47% 0.0172 -0.1875) |
| OKLCH | oklch(50.47% 0.188 275.3) |
| XYZ | xyz(16.8599, 11.7871, 59.1324) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.63
Iris
#6258C4
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 5.37
Blue (survey)
#0343DF
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51CD #CDC74B
analogous
#4B92CD #4B51CD #864BCD
triadic
#4B51CD #CD4B51 #51CD4B
tetradic
#4B51CD #CD4B92 #CDC74B #4BCD86
square
#4B51CD #CD4B92 #CDC74B #4BCD86
split-complementary
#4B51CD #CD864B #92CD4B
monochromatic
#22267B #3035AB #4B51CD #7B7FDA #ABAEE8
Accessibility & contrast
On white
6.25
#4B51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4B51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51CD
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51CD | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4b51cd; /* rgb */ color: rgb(75, 81, 205); /* oklch */ color: oklch(50.5% 0.188 275.3);
Tailwind
colors: {
custom: {
50: '#8b82dd',
500: '#4b51cd',
950: '#000000',
},
}SCSS
$custom: #4b51cd; $custom-light: #8b82dd; $custom-dark: #000000;
JSON
{
"hex": "#4b51cd",
"rgb": {
"r": 75,
"g": 81,
"b": 205
},
"hsl": {
"h": 237.231,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.50471,
"c": 0.18827,
"h": 275.3
},
"luminance": 0.11788
}Semantic roles & 50–950 ramp
primary
#4B51CD
secondary
#D5D39F
accent
#D948E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83