#4754CB#4754CB
#4754CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.183 H 273.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4754CB |
|---|---|
| RGB | rgb(71, 84, 203) |
| HSL | hsl(234, 56%, 54%) |
| HSV | hsv(234, 65%, 80%) |
| CMYK | cmyk(65%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.20, 32.62, -63.44) |
| CIE-LCH | lch(41.20, 71.33, 297.21°) |
| OKLab | oklab(50.6% 0.0103 -0.1826) |
| OKLCH | oklch(50.6% 0.183 273.2) |
| XYZ | xyz(16.5448, 11.9906, 57.9309) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.45
Iris
#6258C4
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.76
Blue (survey)
#0343DF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754CB #CBBE47
analogous
#4796CB #4754CB #7C47CB
triadic
#4754CB #CB4754 #54CB47
tetradic
#4754CB #CB4796 #CBBE47 #47CB7C
square
#4754CB #CB4796 #CBBE47 #47CB7C
split-complementary
#4754CB #CB7C47 #96CB47
monochromatic
#212A76 #2F3BA6 #4754CB #7780D8 #A6ADE6
Accessibility & contrast
On white
6.18
#4754CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4754CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754CB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754CB | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4754cb; /* rgb */ color: rgb(71, 84, 203); /* oklch */ color: oklch(50.6% 0.183 273.2);
Tailwind
colors: {
custom: {
50: '#8984dc',
500: '#4754cb',
950: '#000000',
},
}SCSS
$custom: #4754cb; $custom-light: #8984dc; $custom-dark: #000000;
JSON
{
"hex": "#4754cb",
"rgb": {
"r": 71,
"g": 84,
"b": 203
},
"hsl": {
"h": 234.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.50598,
"c": 0.18293,
"h": 273.2
},
"luminance": 0.11992
}Semantic roles & 50–950 ramp
primary
#4754CB
secondary
#D3CE9B
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83