#5E51AE#5E51AE
#5E51AE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.143 H 286.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5E51AE |
|---|---|
| RGB | rgb(94, 81, 174) |
| HSL | hsl(248, 36%, 50%) |
| HSV | hsv(248, 53%, 68%) |
| CMYK | cmyk(46%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(40.11, 29.50, -48.17) |
| CIE-LCH | lch(40.11, 56.48, 301.49°) |
| OKLab | oklab(49.57% 0.0402 -0.1371) |
| OKLCH | oklch(49.57% 0.143 286.4) |
| XYZ | xyz(15.1963, 11.3199, 41.4205) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.97
Ocean Blue
#4F42B5
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.01
Light Indigo
#6D5ACF
ΔE00 6.04
Royal Purple
#7851A9
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E51AE #A1AE51
analogous
#5173AE #5E51AE #8C51AE
triadic
#5E51AE #AE5E51 #51AE5E
tetradic
#5E51AE #AE5173 #A1AE51 #51AE8C
square
#5E51AE #AE5173 #A1AE51 #51AE8C
split-complementary
#5E51AE #AE8C51 #73AE51
monochromatic
#312A5A #473E84 #5E51AE #857BC1 #ABA5D5
Accessibility & contrast
On white
6.43
#5E51AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#5E51AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E51AE
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E51AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E51AE | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#446577
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5e51ae; /* rgb */ color: rgb(94, 81, 174); /* oklch */ color: oklch(49.6% 0.143 286.4);
Tailwind
colors: {
custom: {
50: '#9182c7',
500: '#5e51ae',
950: '#000000',
},
}SCSS
$custom: #5e51ae; $custom-light: #9182c7; $custom-dark: #000000;
JSON
{
"hex": "#5e51ae",
"rgb": {
"r": 94,
"g": 81,
"b": 174
},
"hsl": {
"h": 248.387,
"s": 36.471,
"l": 50
},
"oklch": {
"l": 0.49574,
"c": 0.14289,
"h": 286.4
},
"luminance": 0.11321
}Semantic roles & 50–950 ramp
primary
#5E51AE
secondary
#BCC299
accent
#CC5BBD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82