#5966F2#5966F2
#5966F2 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.0% C 0.208 H 273.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5966F2 |
|---|---|
| RGB | rgb(89, 102, 242) |
| HSL | hsl(235, 85%, 65%) |
| HSV | hsv(235, 63%, 95%) |
| CMYK | cmyk(63.2%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(49.54, 37.41, -71.99) |
| CIE-LCH | lch(49.54, 81.13, 297.46°) |
| OKLab | oklab(57.98% 0.0143 -0.2071) |
| OKLCH | oklch(57.98% 0.208 273.9) |
| XYZ | xyz(24.8929, 18.0353, 86.1565) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.63
Mediumslateblue
#7B68EE
ΔE00 5.29
Cornflower Blue
#5170D7
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.42
Bright Blue
#0165FC
ΔE00 5.58
Warm Blue
#4B57DB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5966F2 #F2E559
analogous
#59B3F2 #5966F2 #9959F2
triadic
#5966F2 #F25966 #66F259
tetradic
#5966F2 #F259B3 #F2E559 #59F299
square
#5966F2 #F259B3 #F2E559 #59F299
split-complementary
#5966F2 #F29959 #B3F259
monochromatic
#0F1EC1 #2032EE #5966F2 #929AF6 #CBCFFB
Accessibility & contrast
On white
4.56
#5966F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#5966F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5966F2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5966F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5966F2 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5966f2; /* rgb */ color: rgb(89, 102, 242); /* oklch */ color: oklch(58.0% 0.208 273.9);
Tailwind
colors: {
custom: {
50: '#9791f7',
500: '#5966f2',
950: '#000000',
},
}SCSS
$custom: #5966f2; $custom-light: #9791f7; $custom-dark: #000000;
JSON
{
"hex": "#5966f2",
"rgb": {
"r": 89,
"g": 102,
"b": 242
},
"hsl": {
"h": 234.902,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.5798,
"c": 0.20764,
"h": 273.9
},
"luminance": 0.18037
}Semantic roles & 50–950 ramp
primary
#5966F2
secondary
#EDE9B9
accent
#CF04E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85