#4758CB#4758CB
#4758CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.178 H 272.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4758CB |
|---|---|
| RGB | rgb(71, 88, 203) |
| HSL | hsl(232, 56%, 54%) |
| HSV | hsv(232, 65%, 80%) |
| CMYK | cmyk(65%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(42.20, 30.10, -61.82) |
| CIE-LCH | lch(42.20, 68.76, 295.96°) |
| OKLab | oklab(51.34% 0.0068 -0.1778) |
| OKLCH | oklch(51.34% 0.178 272.2) |
| XYZ | xyz(16.8641, 12.6293, 58.0373) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.39
Iris
#6258C4
ΔE00 4.57
Azul
#1D5DEC
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.25
Slate Blue
#6A5ACD
ΔE00 5.80
Electric Blue
#0652FF
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4758CB #CBBA47
analogous
#479ACB #4758CB #7847CB
triadic
#4758CB #CB4758 #58CB47
tetradic
#4758CB #CB479A #CBBA47 #47CB78
square
#4758CB #CB479A #CBBA47 #47CB78
split-complementary
#4758CB #CB7847 #9ACB47
monochromatic
#212C76 #2F3EA6 #4758CB #7783D8 #A6AFE6
Accessibility & contrast
On white
5.96
#4758CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4758CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4758CB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4758CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4758CB | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4758cb; /* rgb */ color: rgb(71, 88, 203); /* oklch */ color: oklch(51.3% 0.178 272.2);
Tailwind
colors: {
custom: {
50: '#8887dc',
500: '#4758cb',
950: '#000000',
},
}SCSS
$custom: #4758cb; $custom-light: #8887dc; $custom-dark: #000000;
JSON
{
"hex": "#4758cb",
"rgb": {
"r": 71,
"g": 88,
"b": 203
},
"hsl": {
"h": 232.273,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.51341,
"c": 0.17795,
"h": 272.2
},
"luminance": 0.12631
}Semantic roles & 50–950 ramp
primary
#4758CB
secondary
#D3CC9B
accent
#CC49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83