#4956CB#4956CB
#4956CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.180 H 273.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4956CB |
|---|---|
| RGB | rgb(73, 86, 203) |
| HSL | hsl(234, 56%, 54%) |
| HSV | hsv(234, 64%, 80%) |
| CMYK | cmyk(64%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.82, 31.68, -62.43) |
| CIE-LCH | lch(41.82, 70.01, 296.90°) |
| OKLab | oklab(51.09% 0.0107 -0.1796) |
| OKLCH | oklch(51.09% 0.18 273.4) |
| XYZ | xyz(16.8514, 12.3824, 57.9903) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Iris
#6258C4
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.46
Azul
#1D5DEC
ΔE00 5.52
Light Indigo
#6D5ACF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4956CB #CBBE49
analogous
#4997CB #4956CB #7D49CB
triadic
#4956CB #CB4956 #56CB49
tetradic
#4956CB #CB4997 #CBBE49 #49CB7D
square
#4956CB #CB4997 #CBBE49 #49CB7D
split-complementary
#4956CB #CB7D49 #97CB49
monochromatic
#222B77 #303CA7 #4956CB #7982D9 #A8AEE6
Accessibility & contrast
On white
6.04
#4956CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4956CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4956CB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4956CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4956CB | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4956cb; /* rgb */ color: rgb(73, 86, 203); /* oklch */ color: oklch(51.1% 0.180 273.4);
Tailwind
colors: {
custom: {
50: '#8985dc',
500: '#4956cb',
950: '#000000',
},
}SCSS
$custom: #4956cb; $custom-light: #8985dc; $custom-dark: #000000;
JSON
{
"hex": "#4956cb",
"rgb": {
"r": 73,
"g": 86,
"b": 203
},
"hsl": {
"h": 234,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.51088,
"c": 0.17993,
"h": 273.4
},
"luminance": 0.12384
}Semantic roles & 50–950 ramp
primary
#4956CB
secondary
#D4CE9C
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83