#5149CF#5149CF
#5149CF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.199 H 279.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5149CF |
|---|---|
| RGB | rgb(81, 73, 207) |
| HSL | hsl(244, 58%, 55%) |
| HSV | hsv(244, 65%, 81%) |
| CMYK | cmyk(60.9%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(39.61, 42.20, -68.31) |
| CIE-LCH | lch(39.61, 80.30, 301.71°) |
| OKLab | oklab(49.7% 0.031 -0.1968) |
| OKLCH | oklch(49.7% 0.199 279) |
| XYZ | xyz(17.0348, 11.0181, 60.2484) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Blue With A Hint Of Purple
#533CC6
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 4.13
Blurple
#5539CC
ΔE00 4.16
Warm Blue
#4B57DB
ΔE00 4.63
Iris
#6258C4
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5149CF #C7CF49
analogous
#4984CF #5149CF #9449CF
triadic
#5149CF #CF5149 #49CF51
tetradic
#5149CF #CF4984 #C7CF49 #49CF94
square
#5149CF #CF4984 #C7CF49 #49CF94
split-complementary
#5149CF #CF9449 #84CF49
monochromatic
#26217D #352EAD #5149CF #7F79DC #AEAAE9
Accessibility & contrast
On white
6.55
#5149CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5149CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5149CF
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5149CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5149CF | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5149cf; /* rgb */ color: rgb(81, 73, 207); /* oklch */ color: oklch(49.7% 0.199 279.0);
Tailwind
colors: {
custom: {
50: '#8f7cdf',
500: '#5149cf',
950: '#000000',
},
}SCSS
$custom: #5149cf; $custom-light: #8f7cdf; $custom-dark: #000000;
JSON
{
"hex": "#5149cf",
"rgb": {
"r": 81,
"g": 73,
"b": 207
},
"hsl": {
"h": 243.582,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.49703,
"c": 0.19919,
"h": 279
},
"luminance": 0.11019
}Semantic roles & 50–950 ramp
primary
#5149CF
secondary
#D3D69E
accent
#E146D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83