#4857BE#4857BE
#4857BE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.161 H 273.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4857BE |
|---|---|
| RGB | rgb(72, 87, 190) |
| HSL | hsl(232, 48%, 51%) |
| HSV | hsv(232, 62%, 75%) |
| CMYK | cmyk(62.1%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(41.07, 26.41, -56.10) |
| CIE-LCH | lch(41.07, 62.00, 295.21°) |
| OKLab | oklab(50.22% 0.0083 -0.161) |
| OKLCH | oklch(50.22% 0.161 273) |
| XYZ | xyz(15.3719, 11.9105, 50.1941) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.08
Iris
#6258C4
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 5.68
Dark Periwinkle
#665FD1
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.32
Azul
#1D5DEC
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4857BE #BEAF48
analogous
#4892BE #4857BE #7448BE
triadic
#4857BE #BE4857 #57BE48
tetradic
#4857BE #BE4892 #BEAF48 #48BE74
square
#4857BE #BE4892 #BEAF48 #48BE74
split-complementary
#4857BE #BE7448 #92BE48
monochromatic
#252D67 #354194 #4857BE #7580CE #A2AADE
Accessibility & contrast
On white
6.21
#4857BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4857BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4857BE
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4857BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4857BE | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4857be; /* rgb */ color: rgb(72, 87, 190); /* oklch */ color: oklch(50.2% 0.161 273.0);
Tailwind
colors: {
custom: {
50: '#8786d2',
500: '#4857be',
950: '#000000',
},
}SCSS
$custom: #4857be; $custom-light: #8786d2; $custom-dark: #000000;
JSON
{
"hex": "#4857be",
"rgb": {
"r": 72,
"g": 87,
"b": 190
},
"hsl": {
"h": 232.373,
"s": 47.581,
"l": 51.373
},
"oklch": {
"l": 0.5022,
"c": 0.1612,
"h": 273
},
"luminance": 0.11912
}Semantic roles & 50–950 ramp
primary
#4857BE
secondary
#CBC497
accent
#C651D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83