#5E4EAF#5E4EAF
#5E4EAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.149 H 287.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4EAF |
|---|---|
| RGB | rgb(94, 78, 175) |
| HSL | hsl(250, 38%, 50%) |
| HSV | hsv(250, 55%, 69%) |
| CMYK | cmyk(46.3%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(39.45, 31.65, -49.83) |
| CIE-LCH | lch(39.45, 59.03, 302.42°) |
| OKLab | oklab(49.1% 0.0439 -0.142) |
| OKLCH | oklch(49.1% 0.149 287.2) |
| XYZ | xyz(15.0761, 10.9230, 41.8631) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.26
Iris
#6258C4
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 6.02
Blueberry
#464196
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4EAF #9FAF4E
analogous
#4E6FAF #5E4EAF #8F4EAF
triadic
#5E4EAF #AF5E4E #4EAF5E
tetradic
#5E4EAF #AF4E6F #9FAF4E #4EAF8F
square
#5E4EAF #AF4E6F #9FAF4E #4EAF8F
split-complementary
#5E4EAF #AF8F4E #6FAF4E
monochromatic
#31285A #473B85 #5E4EAF #8478C3 #AAA2D6
Accessibility & contrast
On white
6.59
#5E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#5E4EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4EAF
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4EAF | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#185AAD
Tritanopia (blue-blind)
#446377
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5e4eaf; /* rgb */ color: rgb(94, 78, 175); /* oklch */ color: oklch(49.1% 0.149 287.2);
Tailwind
colors: {
custom: {
50: '#9180c7',
500: '#5e4eaf',
950: '#000000',
},
}SCSS
$custom: #5e4eaf; $custom-light: #9180c7; $custom-dark: #000000;
JSON
{
"hex": "#5e4eaf",
"rgb": {
"r": 94,
"g": 78,
"b": 175
},
"hsl": {
"h": 249.897,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.49102,
"c": 0.14863,
"h": 287.2
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#5E4EAF
secondary
#BBC396
accent
#CE5ABB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82