#4858CA#4858CA
#4858CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.176 H 272.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4858CA |
|---|---|
| RGB | rgb(72, 88, 202) |
| HSL | hsl(233, 55%, 54%) |
| HSV | hsv(233, 64%, 79%) |
| CMYK | cmyk(64.4%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.19, 29.91, -61.26) |
| CIE-LCH | lch(42.19, 68.17, 296.03°) |
| OKLab | oklab(51.32% 0.0079 -0.1762) |
| OKLCH | oklch(51.32% 0.176 272.6) |
| XYZ | xyz(16.8193, 12.6200, 57.4152) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.46
Iris
#6258C4
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 5.17
Azul
#1D5DEC
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4858CA #CABA48
analogous
#4899CA #4858CA #7948CA
triadic
#4858CA #CA4858 #58CA48
tetradic
#4858CA #CA4899 #CABA48 #48CA79
square
#4858CA #CA4899 #CABA48 #48CA79
split-complementary
#4858CA #CA7948 #99CA48
monochromatic
#222C76 #303EA5 #4858CA #7783D8 #A7AFE5
Accessibility & contrast
On white
5.96
#4858CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#4858CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4858CA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4858CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4858CA | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4858ca; /* rgb */ color: rgb(72, 88, 202); /* oklch */ color: oklch(51.3% 0.176 272.6);
Tailwind
colors: {
custom: {
50: '#8987db',
500: '#4858ca',
950: '#000000',
},
}SCSS
$custom: #4858ca; $custom-light: #8987db; $custom-dark: #000000;
JSON
{
"hex": "#4858ca",
"rgb": {
"r": 72,
"g": 88,
"b": 202
},
"hsl": {
"h": 232.615,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.51323,
"c": 0.17633,
"h": 272.6
},
"luminance": 0.12621
}Semantic roles & 50–950 ramp
primary
#4858CA
secondary
#D3CC9B
accent
#CC49DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83