#4757CC#4757CC
#4757CC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.181 H 272.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4757CC |
|---|---|
| RGB | rgb(71, 87, 204) |
| HSL | hsl(233, 57%, 54%) |
| HSV | hsv(233, 65%, 80%) |
| CMYK | cmyk(65.2%, 57.4%, 0%, 20%) |
| CIE-LAB | lab(42.02, 31.08, -62.68) |
| CIE-LCH | lch(42.02, 69.96, 296.37°) |
| OKLab | oklab(51.23% 0.0077 -0.1804) |
| OKLCH | oklch(51.23% 0.181 272.4) |
| XYZ | xyz(16.9022, 12.5141, 58.6398) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Iris
#6258C4
ΔE00 4.49
Azul
#1D5DEC
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.72
Electric Blue
#0652FF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4757CC #CCBC47
analogous
#479ACC #4757CC #7A47CC
triadic
#4757CC #CC4757 #57CC47
tetradic
#4757CC #CC479A #CCBC47 #47CC7A
square
#4757CC #CC479A #CCBC47 #47CC7A
split-complementary
#4757CC #CC7A47 #9ACC47
monochromatic
#212C77 #2E3DA7 #4757CC #7783D9 #A7AFE7
Accessibility & contrast
On white
5.99
#4757CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4757CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4757CC
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4757CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4757CC | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4757cc; /* rgb */ color: rgb(71, 87, 204); /* oklch */ color: oklch(51.2% 0.181 272.4);
Tailwind
colors: {
custom: {
50: '#8986dc',
500: '#4757cc',
950: '#000000',
},
}SCSS
$custom: #4757cc; $custom-light: #8986dc; $custom-dark: #000000;
JSON
{
"hex": "#4757cc",
"rgb": {
"r": 71,
"g": 87,
"b": 204
},
"hsl": {
"h": 232.782,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.51232,
"c": 0.18054,
"h": 272.4
},
"luminance": 0.12516
}Semantic roles & 50–950 ramp
primary
#4757CC
secondary
#D4CD9B
accent
#CE48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83