#4C56CB#4C56CB
#4C56CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.179 H 274.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56CB |
|---|---|
| RGB | rgb(76, 86, 203) |
| HSL | hsl(235, 55%, 55%) |
| HSV | hsv(235, 63%, 80%) |
| CMYK | cmyk(62.6%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.00, 32.16, -62.12) |
| CIE-LCH | lch(42.00, 69.95, 297.37°) |
| OKLab | oklab(51.28% 0.014 -0.1786) |
| OKLCH | oklch(51.28% 0.179 274.5) |
| XYZ | xyz(17.0842, 12.5025, 58.0012) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.15
Iris
#6258C4
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56CB #CBC14C
analogous
#4C95CB #4C56CB #824CCB
triadic
#4C56CB #CB4C56 #56CB4C
tetradic
#4C56CB #CB4C95 #CBC14C #4CCB82
square
#4C56CB #CB4C95 #CBC14C #4CCB82
split-complementary
#4C56CB #CB824C #95CB4C
monochromatic
#232A79 #313AA9 #4C56CB #7B83D9 #ABB0E7
Accessibility & contrast
On white
6.00
#4C56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4C56CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56CB
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56CB | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4c56cb; /* rgb */ color: rgb(76, 86, 203); /* oklch */ color: oklch(51.3% 0.179 274.5);
Tailwind
colors: {
custom: {
50: '#8b85dc',
500: '#4c56cb',
950: '#000000',
},
}SCSS
$custom: #4c56cb; $custom-light: #8b85dc; $custom-dark: #000000;
JSON
{
"hex": "#4c56cb",
"rgb": {
"r": 76,
"g": 86,
"b": 203
},
"hsl": {
"h": 235.276,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.51276,
"c": 0.17917,
"h": 274.5
},
"luminance": 0.12504
}Semantic roles & 50–950 ramp
primary
#4C56CB
secondary
#D4D09F
accent
#D349DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83