#5959EA#5959EA
#5959EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.213 H 276.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5959EA |
|---|---|
| RGB | rgb(89, 89, 234) |
| HSL | hsl(240, 78%, 63%) |
| HSV | hsv(240, 62%, 92%) |
| CMYK | cmyk(62%, 62%, 0%, 8.2%) |
| CIE-LAB | lab(45.92, 42.60, -73.40) |
| CIE-LCH | lch(45.92, 84.86, 300.13°) |
| OKLab | oklab(55.12% 0.0253 -0.2114) |
| OKLCH | oklch(55.12% 0.213 276.8) |
| XYZ | xyz(22.5387, 15.2073, 79.5735) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.68
Electric Blue
#0652FF
ΔE00 5.20
Iris
#6258C4
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5959EA #EAEA59
analogous
#59A1EA #5959EA #A159EA
triadic
#5959EA #EA5959 #59EA59
tetradic
#5959EA #EA59A1 #EAEA59 #59EAA1
square
#5959EA #EA59A1 #EAEA59 #59EAA1
split-complementary
#5959EA #EAA159 #A1EA59
monochromatic
#1717B2 #2323E3 #5959EA #8F8FF1 #C6C6F8
Accessibility & contrast
On white
5.20
#5959EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5959EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5959EA
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5959EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5959EA | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5959ea; /* rgb */ color: rgb(89, 89, 234); /* oklch */ color: oklch(55.1% 0.213 276.8);
Tailwind
colors: {
custom: {
50: '#9688f2',
500: '#5959ea',
950: '#000000',
},
}SCSS
$custom: #5959ea; $custom-light: #9688f2; $custom-dark: #000000;
JSON
{
"hex": "#5959ea",
"rgb": {
"r": 89,
"g": 89,
"b": 234
},
"hsl": {
"h": 240,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.55121,
"c": 0.2129,
"h": 276.8
},
"luminance": 0.15209
}Semantic roles & 50–950 ramp
primary
#5959EA
secondary
#E9E9B6
accent
#DA0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85