#5E5ABA#5E5ABA
#5E5ABA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.147 H 281.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5ABA |
|---|---|
| RGB | rgb(94, 90, 186) |
| HSL | hsl(243, 41%, 54%) |
| HSV | hsv(243, 52%, 73%) |
| CMYK | cmyk(49.5%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(43.12, 27.63, -50.39) |
| CIE-LCH | lch(43.12, 57.47, 298.73°) |
| OKLab | oklab(52.07% 0.0303 -0.1436) |
| OKLCH | oklch(52.07% 0.147 281.9) |
| XYZ | xyz(17.1325, 13.2363, 48.0970) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.91
Slate Blue
#6A5ACD
ΔE00 3.62
Dark Periwinkle
#665FD1
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.19
Warm Blue
#4B57DB
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5ABA #B6BA5A
analogous
#5A86BA #5E5ABA #8E5ABA
triadic
#5E5ABA #BA5E5A #5ABA5E
tetradic
#5E5ABA #BA5A86 #B6BA5A #5ABA8E
square
#5E5ABA #BA5A86 #B6BA5A #5ABA8E
split-complementary
#5E5ABA #BA8E5A #86BA5A
monochromatic
#302D6C #433F97 #5E5ABA #8885CC #B2B0DE
Accessibility & contrast
On white
5.76
#5E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5E5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5ABA
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5ABA | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#3C6F81
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5e5aba; /* rgb */ color: rgb(94, 90, 186); /* oklch */ color: oklch(52.1% 0.147 281.9);
Tailwind
colors: {
custom: {
50: '#9288cf',
500: '#5e5aba',
950: '#000000',
},
}SCSS
$custom: #5e5aba; $custom-light: #9288cf; $custom-dark: #000000;
JSON
{
"hex": "#5e5aba",
"rgb": {
"r": 94,
"g": 90,
"b": 186
},
"hsl": {
"h": 242.5,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.52065,
"c": 0.14675,
"h": 281.9
},
"luminance": 0.13237
}Semantic roles & 50–950 ramp
primary
#5E5ABA
secondary
#CBCCA3
accent
#D157CC
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82