#4756C7#4756C7
#4756C7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.175 H 272.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4756C7 |
|---|---|
| RGB | rgb(71, 86, 199) |
| HSL | hsl(233, 53%, 53%) |
| HSV | hsv(233, 64%, 78%) |
| CMYK | cmyk(64.3%, 56.8%, 0%, 22%) |
| CIE-LAB | lab(41.40, 29.98, -60.80) |
| CIE-LCH | lch(41.40, 67.79, 296.25°) |
| OKLab | oklab(50.65% 0.0085 -0.1748) |
| OKLCH | oklch(50.65% 0.175 272.8) |
| XYZ | xyz(16.2317, 12.1173, 55.5052) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.87
Iris
#6258C4
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 5.60
Azul
#1D5DEC
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.90
Sapphire
#0F52BA
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4756C7 #C7B847
analogous
#4796C7 #4756C7 #7847C7
triadic
#4756C7 #C74756 #56C747
tetradic
#4756C7 #C74796 #C7B847 #47C778
square
#4756C7 #C74796 #C7B847 #47C778
split-complementary
#4756C7 #C77847 #96C747
monochromatic
#222C71 #313EA0 #4756C7 #7681D5 #A5ACE4
Accessibility & contrast
On white
6.13
#4756C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4756C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4756C7
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4756C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4756C7 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4756c7; /* rgb */ color: rgb(71, 86, 199); /* oklch */ color: oklch(50.7% 0.175 272.8);
Tailwind
colors: {
custom: {
50: '#8885d9',
500: '#4756c7',
950: '#000000',
},
}SCSS
$custom: #4756c7; $custom-light: #8885d9; $custom-dark: #000000;
JSON
{
"hex": "#4756c7",
"rgb": {
"r": 71,
"g": 86,
"b": 199
},
"hsl": {
"h": 232.969,
"s": 53.333,
"l": 52.941
},
"oklch": {
"l": 0.50654,
"c": 0.17506,
"h": 272.8
},
"luminance": 0.12119
}Semantic roles & 50–950 ramp
primary
#4756C7
secondary
#D1CA99
accent
#CC4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83