#5F5BB2#5F5BB2
#5F5BB2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.134 H 282.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BB2 |
|---|---|
| RGB | rgb(95, 91, 178) |
| HSL | hsl(243, 36%, 53%) |
| HSV | hsv(243, 49%, 70%) |
| CMYK | cmyk(46.6%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.96, 24.77, -45.96) |
| CIE-LCH | lch(42.96, 52.21, 298.32°) |
| OKLab | oklab(51.81% 0.0295 -0.1306) |
| OKLCH | oklch(51.81% 0.134 282.7) |
| XYZ | xyz(16.4939, 13.1286, 43.7758) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 6.71
Twilight
#4E518B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BB2 #AEB25B
analogous
#5B82B2 #5F5BB2 #8B5BB2
triadic
#5F5BB2 #B25F5B #5BB25F
tetradic
#5F5BB2 #B25B82 #AEB25B #5BB28B
square
#5F5BB2 #B25B82 #AEB25B #5BB28B
split-complementary
#5F5BB2 #B28B5B #82B25B
monochromatic
#312F64 #46428D #5F5BB2 #8885C6 #B0AED9
Accessibility & contrast
On white
5.79
#5F5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5F5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BB2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BB2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#436D7E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f5bb2; /* rgb */ color: rgb(95, 91, 178); /* oklch */ color: oklch(51.8% 0.134 282.7);
Tailwind
colors: {
custom: {
50: '#9189c9',
500: '#5f5bb2',
950: '#000000',
},
}SCSS
$custom: #5f5bb2; $custom-light: #9189c9; $custom-dark: #000000;
JSON
{
"hex": "#5f5bb2",
"rgb": {
"r": 95,
"g": 91,
"b": 178
},
"hsl": {
"h": 242.759,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.51805,
"c": 0.13386,
"h": 282.7
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#5F5BB2
secondary
#C6C7A2
accent
#CC5CC7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82