#5957CB#5957CB
#5957CB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.175 H 279.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5957CB |
|---|---|
| RGB | rgb(89, 87, 203) |
| HSL | hsl(241, 53%, 57%) |
| HSV | hsv(241, 57%, 80%) |
| CMYK | cmyk(56.2%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(43.14, 33.83, -60.24) |
| CIE-LCH | lch(43.14, 69.09, 299.32°) |
| OKLab | oklab(52.35% 0.0281 -0.1727) |
| OKLCH | oklch(52.35% 0.175 279.2) |
| XYZ | xyz(18.3041, 13.2508, 58.0815) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.89
Warm Blue
#4B57DB
ΔE00 2.77
Slate Blue
#6A5ACD
ΔE00 3.04
Dark Periwinkle
#665FD1
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957CB #C9CB57
analogous
#578FCB #5957CB #9357CB
triadic
#5957CB #CB5957 #57CB59
tetradic
#5957CB #CB578F #C9CB57 #57CB93
square
#5957CB #CB578F #C9CB57 #57CB93
split-complementary
#5957CB #CB9357 #8FCB57
monochromatic
#292880 #3836AF #5957CB #8786D9 #B5B4E8
Accessibility & contrast
On white
5.75
#5957CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5957CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957CB
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957CB | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#1C7288
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5957cb; /* rgb */ color: rgb(89, 87, 203); /* oklch */ color: oklch(52.3% 0.175 279.2);
Tailwind
colors: {
custom: {
50: '#9286dc',
500: '#5957cb',
950: '#000000',
},
}SCSS
$custom: #5957cb; $custom-light: #9286dc; $custom-dark: #000000;
JSON
{
"hex": "#5957cb",
"rgb": {
"r": 89,
"g": 87,
"b": 203
},
"hsl": {
"h": 241.034,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.52348,
"c": 0.175,
"h": 279.2
},
"luminance": 0.13252
}Semantic roles & 50–950 ramp
primary
#5957CB
secondary
#D6D7A7
accent
#DC4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83