#4856BF#4856BF
#4856BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.164 H 273.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4856BF |
|---|---|
| RGB | rgb(72, 86, 191) |
| HSL | hsl(233, 48%, 52%) |
| HSV | hsv(233, 62%, 75%) |
| CMYK | cmyk(62.3%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(40.89, 27.39, -56.98) |
| CIE-LCH | lch(40.89, 63.22, 295.67°) |
| OKLab | oklab(50.1% 0.0093 -0.1636) |
| OKLCH | oklch(50.1% 0.164 273.3) |
| XYZ | xyz(15.4011, 11.7936, 50.7449) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.92
Iris
#6258C4
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 5.75
Dark Periwinkle
#665FD1
ΔE00 6.01
Slate Blue
#6A5ACD
ΔE00 6.22
Blue Blue
#2242C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4856BF #BFB148
analogous
#4892BF #4856BF #7648BF
triadic
#4856BF #BF4856 #56BF48
tetradic
#4856BF #BF4892 #BFB148 #48BF76
square
#4856BF #BF4892 #BFB148 #48BF76
split-complementary
#4856BF #BF7648 #92BF48
monochromatic
#242C68 #344096 #4856BF #7580CF #A3AADF
Accessibility & contrast
On white
6.25
#4856BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4856BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4856BF
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4856BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4856BF | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4856bf; /* rgb */ color: rgb(72, 86, 191); /* oklch */ color: oklch(50.1% 0.164 273.3);
Tailwind
colors: {
custom: {
50: '#8785d3',
500: '#4856bf',
950: '#000000',
},
}SCSS
$custom: #4856bf; $custom-light: #8785d3; $custom-dark: #000000;
JSON
{
"hex": "#4856bf",
"rgb": {
"r": 72,
"g": 86,
"b": 191
},
"hsl": {
"h": 232.941,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.50102,
"c": 0.16386,
"h": 273.3
},
"luminance": 0.11795
}Semantic roles & 50–950 ramp
primary
#4856BF
secondary
#CCC597
accent
#C850D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83