#4754CF#4754CF
#4754CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.188 H 273.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4754CF |
|---|---|
| RGB | rgb(71, 84, 207) |
| HSL | hsl(234, 59%, 55%) |
| HSV | hsv(234, 66%, 81%) |
| CMYK | cmyk(65.7%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.51, 33.99, -65.25) |
| CIE-LCH | lch(41.51, 73.57, 297.52°) |
| OKLab | oklab(50.92% 0.0102 -0.188) |
| OKLCH | oklch(50.92% 0.188 273.1) |
| XYZ | xyz(17.0276, 12.1837, 60.4737) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.97
Iris
#6258C4
ΔE00 4.46
Azul
#1D5DEC
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.64
Electric Blue
#0652FF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754CF #CFC247
analogous
#4798CF #4754CF #7E47CF
triadic
#4754CF #CF4754 #54CF47
tetradic
#4754CF #CF4798 #CFC247 #47CF7E
square
#4754CF #CF4798 #CFC247 #47CF7E
split-complementary
#4754CF #CF7E47 #98CF47
monochromatic
#20297B #2D39AC #4754CF #7881DC #A8AEE8
Accessibility & contrast
On white
6.11
#4754CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#4754CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754CF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754CF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4754cf; /* rgb */ color: rgb(71, 84, 207); /* oklch */ color: oklch(50.9% 0.188 273.1);
Tailwind
colors: {
custom: {
50: '#8984df',
500: '#4754cf',
950: '#000000',
},
}SCSS
$custom: #4754cf; $custom-light: #8984df; $custom-dark: #000000;
JSON
{
"hex": "#4754cf",
"rgb": {
"r": 71,
"g": 84,
"b": 207
},
"hsl": {
"h": 234.265,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.50921,
"c": 0.18824,
"h": 273.1
},
"luminance": 0.12185
}Semantic roles & 50–950 ramp
primary
#4754CF
secondary
#D6D09C
accent
#D346E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83