#4851BB#4851BB
#4851BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.165 H 274.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4851BB |
|---|---|
| RGB | rgb(72, 81, 187) |
| HSL | hsl(235, 46%, 51%) |
| HSV | hsv(235, 61%, 73%) |
| CMYK | cmyk(61.5%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(39.33, 29.19, -57.17) |
| CIE-LCH | lch(39.33, 64.20, 297.05°) |
| OKLab | oklab(48.85% 0.0139 -0.1642) |
| OKLCH | oklch(48.85% 0.165 274.8) |
| XYZ | xyz(14.5816, 10.8493, 48.3298) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.76
Iris
#6258C4
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 5.03
Blue Blue
#2242C7
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 6.07
Blue (survey)
#0343DF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4851BB #BBB248
analogous
#488ABB #4851BB #7848BB
triadic
#4851BB #BB4851 #51BB48
tetradic
#4851BB #BB488A #BBB248 #48BB78
square
#4851BB #BB488A #BBB248 #48BB78
split-complementary
#4851BB #BB7848 #8ABB48
monochromatic
#252A64 #363D90 #4851BB #757BCC #A1A6DC
Accessibility & contrast
On white
6.62
#4851BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4851BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4851BB
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4851BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4851BB | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4851bb; /* rgb */ color: rgb(72, 81, 187); /* oklch */ color: oklch(48.8% 0.165 274.8);
Tailwind
colors: {
custom: {
50: '#8681d0',
500: '#4851bb',
950: '#000000',
},
}SCSS
$custom: #4851bb; $custom-light: #8681d0; $custom-dark: #000000;
JSON
{
"hex": "#4851bb",
"rgb": {
"r": 72,
"g": 81,
"b": 187
},
"hsl": {
"h": 235.304,
"s": 45.817,
"l": 50.784
},
"oklch": {
"l": 0.48845,
"c": 0.16481,
"h": 274.8
},
"luminance": 0.1085
}Semantic roles & 50–950 ramp
primary
#4851BB
secondary
#C9C596
accent
#CB52D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82