#4956BF#4956BF
#4956BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.164 H 273.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4956BF |
|---|---|
| RGB | rgb(73, 86, 191) |
| HSL | hsl(233, 48%, 52%) |
| HSV | hsv(233, 62%, 75%) |
| CMYK | cmyk(61.8%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(40.95, 27.56, -56.88) |
| CIE-LCH | lch(40.95, 63.21, 295.86°) |
| OKLab | oklab(50.17% 0.0104 -0.1633) |
| OKLCH | oklch(50.17% 0.164 273.6) |
| XYZ | xyz(15.4763, 11.8324, 50.7484) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.89
Iris
#6258C4
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 5.89
Sapphire
#0F52BA
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4956BF #BFB249
analogous
#4991BF #4956BF #7749BF
triadic
#4956BF #BF4956 #56BF49
tetradic
#4956BF #BF4991 #BFB249 #49BF77
square
#4956BF #BF4991 #BFB249 #49BF77
split-complementary
#4956BF #BF7749 #91BF49
monochromatic
#252C69 #353F96 #4956BF #7680CF #A4AADF
Accessibility & contrast
On white
6.24
#4956BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4956BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4956BF
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4956BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4956BF | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4956bf; /* rgb */ color: rgb(73, 86, 191); /* oklch */ color: oklch(50.2% 0.164 273.6);
Tailwind
colors: {
custom: {
50: '#8785d3',
500: '#4956bf',
950: '#000000',
},
}SCSS
$custom: #4956bf; $custom-light: #8785d3; $custom-dark: #000000;
JSON
{
"hex": "#4956bf",
"rgb": {
"r": 73,
"g": 86,
"b": 191
},
"hsl": {
"h": 233.39,
"s": 47.967,
"l": 51.765
},
"oklch": {
"l": 0.50165,
"c": 0.1636,
"h": 273.6
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#4956BF
secondary
#CCC698
accent
#C950D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83