#4C54BE#4C54BE
#4C54BE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.164 H 275.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4C54BE |
|---|---|
| RGB | rgb(76, 84, 190) |
| HSL | hsl(236, 47%, 52%) |
| HSV | hsv(236, 60%, 75%) |
| CMYK | cmyk(60%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(40.56, 29.02, -56.91) |
| CIE-LCH | lch(40.56, 63.88, 297.02°) |
| OKLab | oklab(49.91% 0.0157 -0.1633) |
| OKLCH | oklch(49.91% 0.164 275.5) |
| XYZ | xyz(15.4421, 11.5937, 50.1293) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C54BE #BEB64C
analogous
#4C8DBE #4C54BE #7D4CBE
triadic
#4C54BE #BE4C54 #54BE4C
tetradic
#4C54BE #BE4C8D #BEB64C #4CBE7D
square
#4C54BE #BE4C8D #BEB64C #4CBE7D
split-complementary
#4C54BE #BE7D4C #8DBE4C
monochromatic
#262B69 #373D96 #4C54BE #797FCE #A6AADF
Accessibility & contrast
On white
6.33
#4C54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#4C54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C54BE
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C54BE | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4c54be; /* rgb */ color: rgb(76, 84, 190); /* oklch */ color: oklch(49.9% 0.164 275.5);
Tailwind
colors: {
custom: {
50: '#8984d2',
500: '#4c54be',
950: '#000000',
},
}SCSS
$custom: #4c54be; $custom-light: #8984d2; $custom-dark: #000000;
JSON
{
"hex": "#4c54be",
"rgb": {
"r": 76,
"g": 84,
"b": 190
},
"hsl": {
"h": 235.789,
"s": 46.721,
"l": 52.157
},
"oklch": {
"l": 0.49905,
"c": 0.16406,
"h": 275.5
},
"luminance": 0.11595
}Semantic roles & 50–950 ramp
primary
#4C54BE
secondary
#CCC89A
accent
#CD51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83