#4851CA#4851CA
#4851CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.185 H 274.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4851CA |
|---|---|
| RGB | rgb(72, 81, 202) |
| HSL | hsl(236, 55%, 54%) |
| HSV | hsv(236, 64%, 79%) |
| CMYK | cmyk(64.4%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(40.45, 34.31, -64.08) |
| CIE-LCH | lch(40.45, 72.68, 298.16°) |
| OKLab | oklab(50.04% 0.0139 -0.1845) |
| OKLCH | oklch(50.04% 0.185 274.3) |
| XYZ | xyz(16.2721, 11.5254, 57.2328) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.97
Iris
#6258C4
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4851CA #CAC148
analogous
#4892CA #4851CA #8048CA
triadic
#4851CA #CA4851 #51CA48
tetradic
#4851CA #CA4892 #CAC148 #48CA80
square
#4851CA #CA4892 #CAC148 #48CA80
split-complementary
#4851CA #CA8048 #92CA48
monochromatic
#222876 #3038A5 #4851CA #777ED8 #A7ABE5
Accessibility & contrast
On white
6.35
#4851CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4851CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4851CA
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4851CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4851CA | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4851ca; /* rgb */ color: rgb(72, 81, 202); /* oklch */ color: oklch(50.0% 0.185 274.3);
Tailwind
colors: {
custom: {
50: '#8982db',
500: '#4851ca',
950: '#000000',
},
}SCSS
$custom: #4851ca; $custom-light: #8982db; $custom-dark: #000000;
JSON
{
"hex": "#4851ca",
"rgb": {
"r": 72,
"g": 81,
"b": 202
},
"hsl": {
"h": 235.846,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.50035,
"c": 0.18503,
"h": 274.3
},
"luminance": 0.11527
}Semantic roles & 50–950 ramp
primary
#4851CA
secondary
#D3CF9B
accent
#D449DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83