#5149CE#5149CE
#5149CE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.198 H 279.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5149CE |
|---|---|
| RGB | rgb(81, 73, 206) |
| HSL | hsl(244, 58%, 55%) |
| HSV | hsv(244, 65%, 81%) |
| CMYK | cmyk(60.7%, 64.6%, 0%, 19.2%) |
| CIE-LAB | lab(39.53, 41.88, -67.87) |
| CIE-LCH | lch(39.53, 79.75, 301.68°) |
| OKLab | oklab(49.62% 0.0311 -0.1955) |
| OKLCH | oklch(49.62% 0.198 279) |
| XYZ | xyz(16.9129, 10.9694, 59.6066) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.66
Ocean Blue
#4F42B5
ΔE00 4.01
Blurple
#5539CC
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.68
Iris
#6258C4
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5149CE #C6CE49
analogous
#4984CE #5149CE #9449CE
triadic
#5149CE #CE5149 #49CE51
tetradic
#5149CE #CE4984 #C6CE49 #49CE94
square
#5149CE #CE4984 #C6CE49 #49CE94
split-complementary
#5149CE #CE9449 #84CE49
monochromatic
#27217B #362EAC #5149CE #7F79DB #ADA9E8
Accessibility & contrast
On white
6.57
#5149CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#5149CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5149CE
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5149CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5149CE | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5149ce; /* rgb */ color: rgb(81, 73, 206); /* oklch */ color: oklch(49.6% 0.198 279.0);
Tailwind
colors: {
custom: {
50: '#8f7cde',
500: '#5149ce',
950: '#000000',
},
}SCSS
$custom: #5149ce; $custom-light: #8f7cde; $custom-dark: #000000;
JSON
{
"hex": "#5149ce",
"rgb": {
"r": 81,
"g": 73,
"b": 206
},
"hsl": {
"h": 243.609,
"s": 57.576,
"l": 54.706
},
"oklch": {
"l": 0.49618,
"c": 0.19792,
"h": 279
},
"luminance": 0.10971
}Semantic roles & 50–950 ramp
primary
#5149CE
secondary
#D2D59D
accent
#E147D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83