#4851CF#4851CF
#4851CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.192 H 274.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4851CF |
|---|---|
| RGB | rgb(72, 81, 207) |
| HSL | hsl(236, 58%, 55%) |
| HSV | hsv(236, 65%, 81%) |
| CMYK | cmyk(65.2%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.84, 36.01, -66.33) |
| CIE-LCH | lch(40.84, 75.47, 298.49°) |
| OKLab | oklab(50.44% 0.0138 -0.1911) |
| OKLCH | oklch(50.44% 0.192 274.1) |
| XYZ | xyz(16.8737, 11.7661, 60.4012) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.47
Iris
#6258C4
ΔE00 4.50
Blue (survey)
#0343DF
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.43
Slate Blue
#6A5ACD
ΔE00 5.68
Dark Periwinkle
#665FD1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4851CF #CFC648
analogous
#4895CF #4851CF #8348CF
triadic
#4851CF #CF4851 #51CF48
tetradic
#4851CF #CF4895 #CFC648 #48CF83
square
#4851CF #CF4895 #CFC648 #48CF83
split-complementary
#4851CF #CF8348 #95CF48
monochromatic
#21277C #2D36AD #4851CF #787FDC #A9ADE8
Accessibility & contrast
On white
6.26
#4851CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4851CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4851CF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4851CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4851CF | 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)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4851cf; /* rgb */ color: rgb(72, 81, 207); /* oklch */ color: oklch(50.4% 0.192 274.1);
Tailwind
colors: {
custom: {
50: '#8a82df',
500: '#4851cf',
950: '#000000',
},
}SCSS
$custom: #4851cf; $custom-light: #8a82df; $custom-dark: #000000;
JSON
{
"hex": "#4851cf",
"rgb": {
"r": 72,
"g": 81,
"b": 207
},
"hsl": {
"h": 236,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.50445,
"c": 0.19163,
"h": 274.1
},
"luminance": 0.11768
}Semantic roles & 50–950 ramp
primary
#4851CF
secondary
#D6D29D
accent
#D746E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83