#4C56BF#4C56BF
#4C56BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.163 H 274.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56BF |
|---|---|
| RGB | rgb(76, 86, 191) |
| HSL | hsl(235, 47%, 52%) |
| HSV | hsv(235, 60%, 75%) |
| CMYK | cmyk(60.2%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.14, 28.10, -56.56) |
| CIE-LCH | lch(41.14, 63.16, 296.42°) |
| OKLab | oklab(50.36% 0.0137 -0.1623) |
| OKLCH | oklch(50.36% 0.163 274.8) |
| XYZ | xyz(15.7092, 11.9524, 50.7593) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.82
Iris
#6258C4
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 6.24
Sapphire
#0F52BA
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56BF #BFB54C
analogous
#4C8FBF #4C56BF #7C4CBF
triadic
#4C56BF #BF4C56 #56BF4C
tetradic
#4C56BF #BF4C8F #BFB54C #4CBF7C
square
#4C56BF #BF4C8F #BFB54C #4CBF7C
split-complementary
#4C56BF #BF7C4C #8FBF4C
monochromatic
#262C6B #363F98 #4C56BF #7981CF #A6ABDF
Accessibility & contrast
On white
6.19
#4C56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4C56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56BF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56BF | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4c56bf; /* rgb */ color: rgb(76, 86, 191); /* oklch */ color: oklch(50.4% 0.163 274.8);
Tailwind
colors: {
custom: {
50: '#8985d3',
500: '#4c56bf',
950: '#000000',
},
}SCSS
$custom: #4c56bf; $custom-light: #8985d3; $custom-dark: #000000;
JSON
{
"hex": "#4c56bf",
"rgb": {
"r": 76,
"g": 86,
"b": 191
},
"hsl": {
"h": 234.783,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.50359,
"c": 0.16284,
"h": 274.8
},
"luminance": 0.11954
}Semantic roles & 50–950 ramp
primary
#4C56BF
secondary
#CCC89A
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83