#4855C7#4855C7
#4855C7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.176 H 273.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4855C7 |
|---|---|
| RGB | rgb(72, 85, 199) |
| HSL | hsl(234, 53%, 53%) |
| HSV | hsv(234, 64%, 78%) |
| CMYK | cmyk(63.8%, 57.3%, 0%, 22%) |
| CIE-LAB | lab(41.21, 30.77, -61.11) |
| CIE-LCH | lch(41.21, 68.42, 296.73°) |
| OKLab | oklab(50.53% 0.0105 -0.1757) |
| OKLCH | oklch(50.53% 0.176 273.4) |
| XYZ | xyz(16.2264, 11.9968, 55.4823) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.85
Iris
#6258C4
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.76
Azul
#1D5DEC
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4855C7 #C7BA48
analogous
#4894C7 #4855C7 #7A48C7
triadic
#4855C7 #C74855 #55C748
tetradic
#4855C7 #C74894 #C7BA48 #48C77A
square
#4855C7 #C74894 #C7BA48 #48C77A
split-complementary
#4855C7 #C77A48 #94C748
monochromatic
#232B72 #313DA1 #4855C7 #7781D5 #A6ACE4
Accessibility & contrast
On white
6.18
#4855C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4855C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4855C7
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4855C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4855C7 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4855c7; /* rgb */ color: rgb(72, 85, 199); /* oklch */ color: oklch(50.5% 0.176 273.4);
Tailwind
colors: {
custom: {
50: '#8884d9',
500: '#4855c7',
950: '#000000',
},
}SCSS
$custom: #4855c7; $custom-light: #8884d9; $custom-dark: #000000;
JSON
{
"hex": "#4855c7",
"rgb": {
"r": 72,
"g": 85,
"b": 199
},
"hsl": {
"h": 233.858,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.50528,
"c": 0.17605,
"h": 273.4
},
"luminance": 0.11998
}Semantic roles & 50–950 ramp
primary
#4855C7
secondary
#D1CB9A
accent
#CE4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83