#4855C2#4855C2
#4855C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.169 H 273.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4855C2 |
|---|---|
| RGB | rgb(72, 85, 194) |
| HSL | hsl(234, 50%, 52%) |
| HSV | hsv(234, 63%, 76%) |
| CMYK | cmyk(62.9%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.85, 29.06, -58.80) |
| CIE-LCH | lch(40.85, 65.58, 296.30°) |
| OKLab | oklab(50.14% 0.0104 -0.1689) |
| OKLCH | oklch(50.14% 0.169 273.5) |
| XYZ | xyz(15.6554, 11.7684, 52.4750) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.52
Iris
#6258C4
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 5.93
Slate Blue
#6A5ACD
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4855C2 #C2B548
analogous
#4892C2 #4855C2 #7848C2
triadic
#4855C2 #C24855 #55C248
tetradic
#4855C2 #C24892 #C2B548 #48C278
square
#4855C2 #C24892 #C2B548 #48C278
split-complementary
#4855C2 #C27848 #92C248
monochromatic
#242C6C #333E9A #4855C2 #7680D1 #A4AAE1
Accessibility & contrast
On white
6.26
#4855C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4855C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4855C2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4855C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4855C2 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4855c2; /* rgb */ color: rgb(72, 85, 194); /* oklch */ color: oklch(50.1% 0.169 273.5);
Tailwind
colors: {
custom: {
50: '#8784d5',
500: '#4855c2',
950: '#000000',
},
}SCSS
$custom: #4855c2; $custom-light: #8784d5; $custom-dark: #000000;
JSON
{
"hex": "#4855c2",
"rgb": {
"r": 72,
"g": 85,
"b": 194
},
"hsl": {
"h": 233.607,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.5014,
"c": 0.16927,
"h": 273.5
},
"luminance": 0.1177
}Semantic roles & 50–950 ramp
primary
#4855C2
secondary
#CEC898
accent
#CB4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83