#5149CB#5149CB
#5149CB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.194 H 279.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5149CB |
|---|---|
| RGB | rgb(81, 73, 203) |
| HSL | hsl(244, 56%, 54%) |
| HSV | hsv(244, 64%, 80%) |
| CMYK | cmyk(60.1%, 64%, 0%, 20.4%) |
| CIE-LAB | lab(39.28, 40.92, -66.53) |
| CIE-LCH | lch(39.28, 78.11, 301.59°) |
| OKLab | oklab(49.36% 0.0314 -0.1915) |
| OKLCH | oklch(49.36% 0.194 279.3) |
| XYZ | xyz(16.5519, 10.8250, 57.7055) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.55
Bluey Purple
#6241C7
ΔE00 3.59
Ocean Blue
#4F42B5
ΔE00 3.66
Blurple
#5539CC
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.86
Iris
#6258C4
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5149CB #C3CB49
analogous
#4982CB #5149CB #9249CB
triadic
#5149CB #CB5149 #49CB51
tetradic
#5149CB #CB4982 #C3CB49 #49CB92
square
#5149CB #CB4982 #C3CB49 #49CB92
split-complementary
#5149CB #CB9249 #82CB49
monochromatic
#272277 #3730A7 #5149CB #7F79D9 #ACA8E6
Accessibility & contrast
On white
6.63
#5149CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5149CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5149CB
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5149CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5149CB | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5149cb; /* rgb */ color: rgb(81, 73, 203); /* oklch */ color: oklch(49.4% 0.194 279.3);
Tailwind
colors: {
custom: {
50: '#8e7cdc',
500: '#5149cb',
950: '#000000',
},
}SCSS
$custom: #5149cb; $custom-light: #8e7cdc; $custom-dark: #000000;
JSON
{
"hex": "#5149cb",
"rgb": {
"r": 81,
"g": 73,
"b": 203
},
"hsl": {
"h": 243.692,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.49364,
"c": 0.19408,
"h": 279.3
},
"luminance": 0.10826
}Semantic roles & 50–950 ramp
primary
#5149CB
secondary
#D0D49C
accent
#DF49D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83