#5957BA#5957BA
#5957BA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.152 H 280.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5957BA |
|---|---|
| RGB | rgb(89, 87, 186) |
| HSL | hsl(241, 42%, 54%) |
| HSV | hsv(241, 53%, 73%) |
| CMYK | cmyk(52.2%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(41.98, 28.40, -52.25) |
| CIE-LCH | lch(41.98, 59.46, 298.52°) |
| OKLab | oklab(51.11% 0.0276 -0.1492) |
| OKLCH | oklch(51.11% 0.152 280.5) |
| XYZ | xyz(16.3882, 12.4845, 47.9910) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.21
Slate Blue
#6A5ACD
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957BA #B8BA57
analogous
#5786BA #5957BA #8A57BA
triadic
#5957BA #BA5957 #57BA59
tetradic
#5957BA #BA5786 #B8BA57 #57BA8A
square
#5957BA #BA5786 #B8BA57 #57BA8A
split-complementary
#5957BA #BA8A57 #86BA57
monochromatic
#2D2C6B #3F3E96 #5957BA #8482CC #AFAEDE
Accessibility & contrast
On white
6.01
#5957BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5957BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957BA
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957BA | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2167BD
Deuteranopia (green-blind)
#145FB8
Tritanopia (blue-blind)
#316D80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5957ba; /* rgb */ color: rgb(89, 87, 186); /* oklch */ color: oklch(51.1% 0.152 280.5);
Tailwind
colors: {
custom: {
50: '#8f86cf',
500: '#5957ba',
950: '#000000',
},
}SCSS
$custom: #5957ba; $custom-light: #8f86cf; $custom-dark: #000000;
JSON
{
"hex": "#5957ba",
"rgb": {
"r": 89,
"g": 87,
"b": 186
},
"hsl": {
"h": 241.212,
"s": 41.772,
"l": 53.529
},
"oklch": {
"l": 0.51112,
"c": 0.15176,
"h": 280.5
},
"luminance": 0.12485
}Semantic roles & 50–950 ramp
primary
#5957BA
secondary
#CBCCA1
accent
#D256CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82