#4858CB#4858CB
#4858CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.178 H 272.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4858CB |
|---|---|
| RGB | rgb(72, 88, 203) |
| HSL | hsl(233, 56%, 54%) |
| HSV | hsv(233, 65%, 80%) |
| CMYK | cmyk(64.5%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(42.26, 30.26, -61.72) |
| CIE-LCH | lch(42.26, 68.74, 296.12°) |
| OKLab | oklab(51.4% 0.0079 -0.1775) |
| OKLCH | oklch(51.4% 0.178 272.5) |
| XYZ | xyz(16.9381, 12.6675, 58.0408) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.33
Iris
#6258C4
ΔE00 4.43
Azul
#1D5DEC
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4858CB #CBBB48
analogous
#489ACB #4858CB #7A48CB
triadic
#4858CB #CB4858 #58CB48
tetradic
#4858CB #CB489A #CBBB48 #48CB7A
square
#4858CB #CB489A #CBBB48 #48CB7A
split-complementary
#4858CB #CB7A48 #9ACB48
monochromatic
#222C77 #2F3EA6 #4858CB #7883D9 #A7AFE6
Accessibility & contrast
On white
5.94
#4858CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4858CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4858CB
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4858CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4858CB | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4858cb; /* rgb */ color: rgb(72, 88, 203); /* oklch */ color: oklch(51.4% 0.178 272.5);
Tailwind
colors: {
custom: {
50: '#8987dc',
500: '#4858cb',
950: '#000000',
},
}SCSS
$custom: #4858cb; $custom-light: #8987dc; $custom-dark: #000000;
JSON
{
"hex": "#4858cb",
"rgb": {
"r": 72,
"g": 88,
"b": 203
},
"hsl": {
"h": 232.672,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.514,
"c": 0.17768,
"h": 272.5
},
"luminance": 0.12669
}Semantic roles & 50–950 ramp
primary
#4858CB
secondary
#D3CD9B
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83