#5E5EA2#5E5EA2
#5E5EA2 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.106 H 282.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5EA2 |
|---|---|
| RGB | rgb(94, 94, 162) |
| HSL | hsl(240, 27%, 50%) |
| HSV | hsv(240, 42%, 64%) |
| CMYK | cmyk(42%, 42%, 0%, 36.5%) |
| CIE-LAB | lab(42.75, 17.79, -36.85) |
| CIE-LCH | lch(42.75, 40.92, 295.76°) |
| OKLab | oklab(51.33% 0.0221 -0.1039) |
| OKLCH | oklch(51.33% 0.106 282) |
| XYZ | xyz(15.1385, 12.9931, 35.8857) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.56
Dusky Blue
#475F94
ΔE00 6.07
Iris
#6258C4
ΔE00 6.36
Dusk
#4E5481
ΔE00 6.66
Slate Blue
#6A5ACD
ΔE00 7.65
Dark Periwinkle
#665FD1
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5EA2 #A2A25E
analogous
#5E80A2 #5E5EA2 #805EA2
triadic
#5E5EA2 #A25E5E #5EA25E
tetradic
#5E5EA2 #A25E80 #A2A25E #5EA280
square
#5E5EA2 #A25E80 #A2A25E #5EA280
split-complementary
#5E5EA2 #A2805E #80A25E
monochromatic
#313155 #47477B #5E5EA2 #8585B8 #ACACCF
Accessibility & contrast
On white
5.84
#5E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5E5EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5EA2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5EA2 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#4263A0
Tritanopia (blue-blind)
#496C78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5e5ea2; /* rgb */ color: rgb(94, 94, 162); /* oklch */ color: oklch(51.3% 0.106 282.0);
Tailwind
colors: {
custom: {
50: '#8f8bbe',
500: '#5e5ea2',
950: '#000000',
},
}SCSS
$custom: #5e5ea2; $custom-light: #8f8bbe; $custom-dark: #000000;
JSON
{
"hex": "#5e5ea2",
"rgb": {
"r": 94,
"g": 94,
"b": 162
},
"hsl": {
"h": 240,
"s": 26.772,
"l": 50.196
},
"oklch": {
"l": 0.51335,
"c": 0.10622,
"h": 282
},
"luminance": 0.12994
}Semantic roles & 50–950 ramp
primary
#5E5EA2
secondary
#BDBD9F
accent
#C365C3
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0C12
muted
#7D7D81