#5F57BB#5F57BB
#5F57BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.152 H 283.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57BB |
|---|---|
| RGB | rgb(95, 87, 187) |
| HSL | hsl(245, 42%, 54%) |
| HSV | hsv(245, 53%, 73%) |
| CMYK | cmyk(49.2%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(42.52, 30.01, -51.94) |
| CIE-LCH | lch(42.52, 59.99, 300.02°) |
| OKLab | oklab(51.65% 0.035 -0.1481) |
| OKLCH | oklch(51.65% 0.152 283.3) |
| XYZ | xyz(17.0945, 12.8363, 48.5810) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.47
Slate Blue
#6A5ACD
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 4.18
Warm Blue
#4B57DB
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57BB #B3BB57
analogous
#5781BB #5F57BB #9157BB
triadic
#5F57BB #BB5F57 #57BB5F
tetradic
#5F57BB #BB5781 #B3BB57 #57BB91
square
#5F57BB #BB5781 #B3BB57 #57BB91
split-complementary
#5F57BB #BB9157 #81BB57
monochromatic
#312C6C #453D97 #5F57BB #8883CD #B2AEDE
Accessibility & contrast
On white
5.89
#5F57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5F57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57BB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57BB | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#3E6D80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f57bb; /* rgb */ color: rgb(95, 87, 187); /* oklch */ color: oklch(51.7% 0.152 283.3);
Tailwind
colors: {
custom: {
50: '#9386d0',
500: '#5f57bb',
950: '#000000',
},
}SCSS
$custom: #5f57bb; $custom-light: #9386d0; $custom-dark: #000000;
JSON
{
"hex": "#5f57bb",
"rgb": {
"r": 95,
"g": 87,
"b": 187
},
"hsl": {
"h": 244.8,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.51655,
"c": 0.15223,
"h": 283.3
},
"luminance": 0.12837
}Semantic roles & 50–950 ramp
primary
#5F57BB
secondary
#C9CCA2
accent
#D256C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82