#5959CB#5959CB
#5959CB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.172 H 278.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5959CB |
|---|---|
| RGB | rgb(89, 89, 203) |
| HSL | hsl(240, 52%, 57%) |
| HSV | hsv(240, 56%, 80%) |
| CMYK | cmyk(56.2%, 56.2%, 0%, 20.4%) |
| CIE-LAB | lab(43.62, 32.60, -59.45) |
| CIE-LCH | lch(43.62, 67.81, 298.74°) |
| OKLab | oklab(52.71% 0.0261 -0.1704) |
| OKLCH | oklch(52.71% 0.172 278.7) |
| XYZ | xyz(18.4683, 13.5792, 58.1362) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.01
Warm Blue
#4B57DB
ΔE00 2.74
Dark Periwinkle
#665FD1
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 3.61
Azul
#1D5DEC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5959CB #CBCB59
analogous
#5992CB #5959CB #9259CB
triadic
#5959CB #CB5959 #59CB59
tetradic
#5959CB #CB5992 #CBCB59 #59CB92
square
#5959CB #CB5992 #CBCB59 #59CB92
split-complementary
#5959CB #CB9259 #92CB59
monochromatic
#282881 #3737B0 #5959CB #8888DA #B6B6E8
Accessibility & contrast
On white
5.65
#5959CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5959CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5959CB
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5959CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5959CB | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#1B7489
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5959cb; /* rgb */ color: rgb(89, 89, 203); /* oklch */ color: oklch(52.7% 0.172 278.7);
Tailwind
colors: {
custom: {
50: '#9188dc',
500: '#5959cb',
950: '#000000',
},
}SCSS
$custom: #5959cb; $custom-light: #9188dc; $custom-dark: #000000;
JSON
{
"hex": "#5959cb",
"rgb": {
"r": 89,
"g": 89,
"b": 203
},
"hsl": {
"h": 240,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.52708,
"c": 0.17238,
"h": 278.7
},
"luminance": 0.1358
}Semantic roles & 50–950 ramp
primary
#5959CB
secondary
#D7D7A9
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83