#5E5FB2#5E5FB2
#5E5FB2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.128 H 280.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FB2 |
|---|---|
| RGB | rgb(94, 95, 178) |
| HSL | hsl(239, 35%, 53%) |
| HSV | hsv(239, 47%, 70%) |
| CMYK | cmyk(47.2%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(43.91, 22.04, -44.44) |
| CIE-LCH | lch(43.91, 49.60, 296.38°) |
| OKLab | oklab(52.51% 0.0234 -0.1261) |
| OKLCH | oklch(52.51% 0.128 280.5) |
| XYZ | xyz(16.7418, 13.7776, 43.8880) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 6.79
Warm Blue
#4B57DB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FB2 #B2B15E
analogous
#5E89B2 #5E5FB2 #875EB2
triadic
#5E5FB2 #B25E5F #5FB25E
tetradic
#5E5FB2 #B25E89 #B2B15E #5EB287
square
#5E5FB2 #B25E89 #B2B15E #5EB287
split-complementary
#5E5FB2 #B2875E #89B25E
monochromatic
#303165 #44458F #5E5FB2 #8788C6 #B1B1DA
Accessibility & contrast
On white
5.59
#5E5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5E5FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FB2
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FB2 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#417080
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5e5fb2; /* rgb */ color: rgb(94, 95, 178); /* oklch */ color: oklch(52.5% 0.128 280.5);
Tailwind
colors: {
custom: {
50: '#918cc9',
500: '#5e5fb2',
950: '#000000',
},
}SCSS
$custom: #5e5fb2; $custom-light: #918cc9; $custom-dark: #000000;
JSON
{
"hex": "#5e5fb2",
"rgb": {
"r": 94,
"g": 95,
"b": 178
},
"hsl": {
"h": 239.286,
"s": 35.294,
"l": 53.333
},
"oklch": {
"l": 0.52507,
"c": 0.12825,
"h": 280.5
},
"luminance": 0.13778
}Semantic roles & 50–950 ramp
primary
#5E5FB2
secondary
#C8C8A4
accent
#CA5CCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82