#5959C8#5959C8
#5959C8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.168 H 278.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5959C8 |
|---|---|
| RGB | rgb(89, 89, 200) |
| HSL | hsl(240, 50%, 57%) |
| HSV | hsv(240, 56%, 78%) |
| CMYK | cmyk(55.5%, 55.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.42, 31.64, -58.06) |
| CIE-LCH | lch(43.42, 66.12, 298.59°) |
| OKLab | oklab(52.49% 0.026 -0.1663) |
| OKLCH | oklch(52.49% 0.168 278.9) |
| XYZ | xyz(18.1142, 13.4375, 56.2716) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.84
Dark Periwinkle
#665FD1
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.13
Light Indigo
#6D5ACF
ΔE00 3.73
Azul
#1D5DEC
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5959C8 #C8C859
analogous
#5991C8 #5959C8 #9159C8
triadic
#5959C8 #C85959 #59C859
tetradic
#5959C8 #C85991 #C8C859 #59C891
square
#5959C8 #C85991 #C8C859 #59C891
split-complementary
#5959C8 #C89159 #91C859
monochromatic
#29297D #3939AB #5959C8 #8787D7 #B5B5E6
Accessibility & contrast
On white
5.69
#5959C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5959C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5959C8
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5959C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5959C8 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#076BCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#207388
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5959c8; /* rgb */ color: rgb(89, 89, 200); /* oklch */ color: oklch(52.5% 0.168 278.9);
Tailwind
colors: {
custom: {
50: '#9188d9',
500: '#5959c8',
950: '#000000',
},
}SCSS
$custom: #5959c8; $custom-light: #9188d9; $custom-dark: #000000;
JSON
{
"hex": "#5959c8",
"rgb": {
"r": 89,
"g": 89,
"b": 200
},
"hsl": {
"h": 240,
"s": 50.226,
"l": 56.667
},
"oklch": {
"l": 0.52487,
"c": 0.16832,
"h": 278.9
},
"luminance": 0.13439
}Semantic roles & 50–950 ramp
primary
#5959C8
secondary
#D5D5A8
accent
#DA4EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83