#5E5BB2#5E5BB2
#5E5BB2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.134 H 282.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5BB2 |
|---|---|
| RGB | rgb(94, 91, 178) |
| HSL | hsl(242, 36%, 53%) |
| HSV | hsv(242, 49%, 70%) |
| CMYK | cmyk(47.2%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.88, 24.53, -46.10) |
| CIE-LCH | lch(42.88, 52.21, 298.02°) |
| OKLab | oklab(51.73% 0.0283 -0.131) |
| OKLCH | oklch(51.73% 0.134 282.2) |
| XYZ | xyz(16.3907, 13.0754, 43.7710) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.29
Warm Blue
#4B57DB
ΔE00 6.62
Twilight
#4E518B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5BB2 #AFB25B
analogous
#5B83B2 #5E5BB2 #895BB2
triadic
#5E5BB2 #B25E5B #5BB25E
tetradic
#5E5BB2 #B25B83 #AFB25B #5BB289
square
#5E5BB2 #B25B83 #AFB25B #5BB289
split-complementary
#5E5BB2 #B2895B #83B25B
monochromatic
#312F64 #45428D #5E5BB2 #8785C6 #B0AED9
Accessibility & contrast
On white
5.81
#5E5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5E5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5BB2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5BB2 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#416D7E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5e5bb2; /* rgb */ color: rgb(94, 91, 178); /* oklch */ color: oklch(51.7% 0.134 282.2);
Tailwind
colors: {
custom: {
50: '#9189c9',
500: '#5e5bb2',
950: '#000000',
},
}SCSS
$custom: #5e5bb2; $custom-light: #9189c9; $custom-dark: #000000;
JSON
{
"hex": "#5e5bb2",
"rgb": {
"r": 94,
"g": 91,
"b": 178
},
"hsl": {
"h": 242.069,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.51725,
"c": 0.134,
"h": 282.2
},
"luminance": 0.13076
}Semantic roles & 50–950 ramp
primary
#5E5BB2
secondary
#C6C7A2
accent
#CC5CC8
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82