#5F5CBB#5F5CBB
#5F5CBB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.145 H 281.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CBB |
|---|---|
| RGB | rgb(95, 92, 187) |
| HSL | hsl(242, 41%, 55%) |
| HSV | hsv(242, 51%, 73%) |
| CMYK | cmyk(49.2%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(43.76, 26.93, -49.94) |
| CIE-LCH | lch(43.76, 56.73, 298.33°) |
| OKLab | oklab(52.59% 0.0292 -0.1422) |
| OKLCH | oklch(52.59% 0.145 281.6) |
| XYZ | xyz(17.5134, 13.6741, 48.7206) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 3.55
Dark Periwinkle
#665FD1
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 5.44
Ocean Blue
#4F42B5
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CBB #B8BB5C
analogous
#5C88BB #5F5CBB #8F5CBB
triadic
#5F5CBB #BB5F5C #5CBB5F
tetradic
#5F5CBB #BB5C88 #B8BB5C #5CBB8F
square
#5F5CBB #BB5C88 #B8BB5C #5CBB8F
split-complementary
#5F5CBB #BB8F5C #88BB5C
monochromatic
#302E6F #43409A #5F5CBB #8987CD #B4B2DF
Accessibility & contrast
On white
5.62
#5F5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5F5CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CBB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CBB | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#3D7183
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f5cbb; /* rgb */ color: rgb(95, 92, 187); /* oklch */ color: oklch(52.6% 0.145 281.6);
Tailwind
colors: {
custom: {
50: '#928ad0',
500: '#5f5cbb',
950: '#000000',
},
}SCSS
$custom: #5f5cbb; $custom-light: #928ad0; $custom-dark: #000000;
JSON
{
"hex": "#5f5cbb",
"rgb": {
"r": 95,
"g": 92,
"b": 187
},
"hsl": {
"h": 241.895,
"s": 41.126,
"l": 54.706
},
"oklch": {
"l": 0.52588,
"c": 0.14518,
"h": 281.6
},
"luminance": 0.13675
}Semantic roles & 50–950 ramp
primary
#5F5CBB
secondary
#CCCDA5
accent
#D157CD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82