#4858BF#4858BF
#4858BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.161 H 272.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4858BF |
|---|---|
| RGB | rgb(72, 88, 191) |
| HSL | hsl(232, 48%, 52%) |
| HSV | hsv(232, 62%, 75%) |
| CMYK | cmyk(62.3%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(41.40, 26.12, -56.15) |
| CIE-LCH | lch(41.40, 61.93, 294.95°) |
| OKLab | oklab(50.49% 0.0074 -0.1611) |
| OKLCH | oklch(50.49% 0.161 272.6) |
| XYZ | xyz(15.5631, 12.1175, 50.7989) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.97
Iris
#6258C4
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 5.70
Dark Periwinkle
#665FD1
ΔE00 5.89
Azul
#1D5DEC
ΔE00 6.28
Slate Blue
#6A5ACD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4858BF #BFAF48
analogous
#4894BF #4858BF #7448BF
triadic
#4858BF #BF4858 #58BF48
tetradic
#4858BF #BF4894 #BFAF48 #48BF74
square
#4858BF #BF4894 #BFAF48 #48BF74
split-complementary
#4858BF #BF7448 #94BF48
monochromatic
#242E68 #344196 #4858BF #7581CF #A3ABDF
Accessibility & contrast
On white
6.13
#4858BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4858BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4858BF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4858BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4858BF | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4858bf; /* rgb */ color: rgb(72, 88, 191); /* oklch */ color: oklch(50.5% 0.161 272.6);
Tailwind
colors: {
custom: {
50: '#8786d3',
500: '#4858bf',
950: '#000000',
},
}SCSS
$custom: #4858bf; $custom-light: #8786d3; $custom-dark: #000000;
JSON
{
"hex": "#4858bf",
"rgb": {
"r": 72,
"g": 88,
"b": 191
},
"hsl": {
"h": 231.933,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.50489,
"c": 0.1613,
"h": 272.6
},
"luminance": 0.12119
}Semantic roles & 50–950 ramp
primary
#4858BF
secondary
#CCC597
accent
#C650D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83