#4757CB#4757CB
#4757CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.179 H 272.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4757CB |
|---|---|
| RGB | rgb(71, 87, 203) |
| HSL | hsl(233, 56%, 54%) |
| HSV | hsv(233, 65%, 80%) |
| CMYK | cmyk(65%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.95, 30.73, -62.23) |
| CIE-LCH | lch(41.95, 69.40, 296.28°) |
| OKLab | oklab(51.15% 0.0077 -0.179) |
| OKLCH | oklch(51.15% 0.179 272.5) |
| XYZ | xyz(16.7826, 12.4663, 58.0101) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Iris
#6258C4
ΔE00 4.49
Azul
#1D5DEC
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.76
Electric Blue
#0652FF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4757CB #CBBB47
analogous
#4799CB #4757CB #7947CB
triadic
#4757CB #CB4757 #57CB47
tetradic
#4757CB #CB4799 #CBBB47 #47CB79
square
#4757CB #CB4799 #CBBB47 #47CB79
split-complementary
#4757CB #CB7947 #99CB47
monochromatic
#212C76 #2F3DA6 #4757CB #7783D8 #A6AEE6
Accessibility & contrast
On white
6.01
#4757CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4757CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4757CB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4757CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4757CB | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4757cb; /* rgb */ color: rgb(71, 87, 203); /* oklch */ color: oklch(51.2% 0.179 272.5);
Tailwind
colors: {
custom: {
50: '#8886dc',
500: '#4757cb',
950: '#000000',
},
}SCSS
$custom: #4757cb; $custom-light: #8886dc; $custom-dark: #000000;
JSON
{
"hex": "#4757cb",
"rgb": {
"r": 71,
"g": 87,
"b": 203
},
"hsl": {
"h": 232.727,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.51154,
"c": 0.17921,
"h": 272.5
},
"luminance": 0.12468
}Semantic roles & 50–950 ramp
primary
#4757CB
secondary
#D3CC9B
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83