#4754AC#4754AC
#4754AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.140 H 273.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4754AC |
|---|---|
| RGB | rgb(71, 84, 172) |
| HSL | hsl(232, 42%, 48%) |
| HSV | hsv(232, 59%, 67%) |
| CMYK | cmyk(58.7%, 51.2%, 0%, 32.5%) |
| CIE-LAB | lab(39.00, 21.95, -48.87) |
| CIE-LCH | lch(39.00, 53.57, 294.19°) |
| OKLab | oklab(48.25% 0.0089 -0.1398) |
| OKLCH | oklch(48.25% 0.14 273.7) |
| XYZ | xyz(13.2128, 10.6578, 40.3826) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.69
Dusky Blue
#475F94
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 5.91
Iris
#6258C4
ΔE00 6.02
Twilight
#4E518B
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754AC #AC9F47
analogous
#4787AC #4754AC #6C47AC
triadic
#4754AC #AC4754 #54AC47
tetradic
#4754AC #AC4787 #AC9F47 #47AC6C
square
#4754AC #AC4787 #AC9F47 #47AC6C
split-complementary
#4754AC #AC6C47 #87AC47
monochromatic
#232A55 #353F81 #4754AC #6D78C3 #99A0D5
Accessibility & contrast
On white
6.71
#4754AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#4754AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754AC
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754AC | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4754ac; /* rgb */ color: rgb(71, 84, 172); /* oklch */ color: oklch(48.3% 0.140 273.7);
Tailwind
colors: {
custom: {
50: '#8383c5',
500: '#4754ac',
950: '#000000',
},
}SCSS
$custom: #4754ac; $custom-light: #8383c5; $custom-dark: #000000;
JSON
{
"hex": "#4754ac",
"rgb": {
"r": 71,
"g": 84,
"b": 172
},
"hsl": {
"h": 232.277,
"s": 41.564,
"l": 47.647
},
"oklch": {
"l": 0.48251,
"c": 0.14006,
"h": 273.7
},
"luminance": 0.10659
}Semantic roles & 50–950 ramp
primary
#4754AC
secondary
#C1BA8E
accent
#C256D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82