#4B56CD#4B56CD
#4B56CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.182 H 274.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4B56CD |
|---|---|
| RGB | rgb(75, 86, 205) |
| HSL | hsl(235, 57%, 55%) |
| HSV | hsv(235, 63%, 80%) |
| CMYK | cmyk(63.4%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(42.09, 32.68, -63.14) |
| CIE-LCH | lch(42.09, 71.09, 297.36°) |
| OKLab | oklab(51.37% 0.0129 -0.1816) |
| OKLCH | oklch(51.37% 0.182 274.1) |
| XYZ | xyz(17.2452, 12.5578, 59.2609) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.90
Iris
#6258C4
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.12
Azul
#1D5DEC
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B56CD #CDC24B
analogous
#4B97CD #4B56CD #814BCD
triadic
#4B56CD #CD4B56 #56CD4B
tetradic
#4B56CD #CD4B97 #CDC24B #4BCD81
square
#4B56CD #CD4B97 #CDC24B #4BCD81
split-complementary
#4B56CD #CD814B #97CD4B
monochromatic
#222A7B #303AAB #4B56CD #7B83DA #ABB0E8
Accessibility & contrast
On white
5.98
#4B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4B56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B56CD
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B56CD | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4b56cd; /* rgb */ color: rgb(75, 86, 205); /* oklch */ color: oklch(51.4% 0.182 274.1);
Tailwind
colors: {
custom: {
50: '#8b85dd',
500: '#4b56cd',
950: '#000000',
},
}SCSS
$custom: #4b56cd; $custom-light: #8b85dd; $custom-dark: #000000;
JSON
{
"hex": "#4b56cd",
"rgb": {
"r": 75,
"g": 86,
"b": 205
},
"hsl": {
"h": 234.923,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.51369,
"c": 0.18209,
"h": 274.1
},
"luminance": 0.12559
}Semantic roles & 50–950 ramp
primary
#4B56CD
secondary
#D5D19F
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83