#5B5FAC#5B5FAC
#5B5FAC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.120 H 279.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5FAC |
|---|---|
| RGB | rgb(91, 95, 172) |
| HSL | hsl(237, 33%, 52%) |
| HSV | hsv(237, 47%, 67%) |
| CMYK | cmyk(47.1%, 44.8%, 0%, 32.5%) |
| CIE-LAB | lab(43.34, 19.44, -41.84) |
| CIE-LCH | lch(43.34, 46.14, 294.92°) |
| OKLab | oklab(51.9% 0.019 -0.1186) |
| OKLCH | oklch(51.9% 0.12 279.1) |
| XYZ | xyz(15.8507, 13.3863, 40.7703) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.02
Dusky Blue
#475F94
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 6.12
Slate Blue
#6A5ACD
ΔE00 6.38
Twilight
#4E518B
ΔE00 6.78
Light Indigo
#6D5ACF
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5FAC #ACA85B
analogous
#5B88AC #5B5FAC #805BAC
triadic
#5B5FAC #AC5B5F #5FAC5B
tetradic
#5B5FAC #AC5B88 #ACA85B #5BAC80
square
#5B5FAC #AC5B88 #ACA85B #5BAC80
split-complementary
#5B5FAC #AC805B #88AC5B
monochromatic
#2F325D #444786 #5B5FAC #8487C1 #ACAED5
Accessibility & contrast
On white
5.71
#5B5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5B5FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5FAC
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5FAC | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406AAF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#3E6F7D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b5fac; /* rgb */ color: rgb(91, 95, 172); /* oklch */ color: oklch(51.9% 0.120 279.1);
Tailwind
colors: {
custom: {
50: '#8e8cc5',
500: '#5b5fac',
950: '#000000',
},
}SCSS
$custom: #5b5fac; $custom-light: #8e8cc5; $custom-dark: #000000;
JSON
{
"hex": "#5b5fac",
"rgb": {
"r": 91,
"g": 95,
"b": 172
},
"hsl": {
"h": 237.037,
"s": 32.794,
"l": 51.569
},
"oklch": {
"l": 0.51903,
"c": 0.12007,
"h": 279.1
},
"luminance": 0.13387
}Semantic roles & 50–950 ramp
primary
#5B5FAC
secondary
#C3C1A0
accent
#C45FC9
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82