#4C54BF#4C54BF
#4C54BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.165 H 275.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4C54BF |
|---|---|
| RGB | rgb(76, 84, 191) |
| HSL | hsl(236, 47%, 52%) |
| HSV | hsv(236, 60%, 75%) |
| CMYK | cmyk(60.2%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(40.63, 29.36, -57.38) |
| CIE-LCH | lch(40.63, 64.46, 297.10°) |
| OKLab | oklab(49.98% 0.0157 -0.1647) |
| OKLCH | oklch(49.98% 0.165 275.4) |
| XYZ | xyz(15.5517, 11.6375, 50.7069) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C54BF #BFB74C
analogous
#4C8EBF #4C54BF #7E4CBF
triadic
#4C54BF #BF4C54 #54BF4C
tetradic
#4C54BF #BF4C8E #BFB74C #4CBF7E
square
#4C54BF #BF4C8E #BFB74C #4CBF7E
split-complementary
#4C54BF #BF7E4C #8EBF4C
monochromatic
#262B6B #363D98 #4C54BF #797FCF #A6AADF
Accessibility & contrast
On white
6.31
#4C54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4C54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C54BF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C54BF | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4c54bf; /* rgb */ color: rgb(76, 84, 191); /* oklch */ color: oklch(50.0% 0.165 275.4);
Tailwind
colors: {
custom: {
50: '#8984d3',
500: '#4c54bf',
950: '#000000',
},
}SCSS
$custom: #4c54bf; $custom-light: #8984d3; $custom-dark: #000000;
JSON
{
"hex": "#4c54bf",
"rgb": {
"r": 76,
"g": 84,
"b": 191
},
"hsl": {
"h": 235.826,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.49981,
"c": 0.16543,
"h": 275.4
},
"luminance": 0.11639
}Semantic roles & 50–950 ramp
primary
#4C54BF
secondary
#CCC99A
accent
#CE51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A14
muted
#7D7C83