#5965E9#5965E9
#5965E9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.197 H 274.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5965E9 |
|---|---|
| RGB | rgb(89, 101, 233) |
| HSL | hsl(235, 77%, 63%) |
| HSV | hsv(235, 62%, 91%) |
| CMYK | cmyk(61.8%, 56.7%, 0%, 8.6%) |
| CIE-LAB | lab(48.65, 35.05, -68.38) |
| CIE-LCH | lch(48.65, 76.84, 297.13°) |
| OKLab | oklab(57.12% 0.0151 -0.1966) |
| OKLCH | oklch(57.12% 0.197 274.4) |
| XYZ | xyz(23.4766, 17.3125, 79.1795) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.18
Dark Periwinkle
#665FD1
ΔE00 4.43
Cornflower Blue
#5170D7
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.11
Mediumslateblue
#7B68EE
ΔE00 5.62
Azul
#1D5DEC
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5965E9 #E9DD59
analogous
#59ADE9 #5965E9 #9559E9
triadic
#5965E9 #E95965 #65E959
tetradic
#5965E9 #E959AD #E9DD59 #59E995
square
#5965E9 #E959AD #E9DD59 #59E995
split-complementary
#5965E9 #E99559 #ADE959
monochromatic
#1724B0 #2333E2 #5965E9 #8F97F0 #C5C9F7
Accessibility & contrast
On white
4.71
#5965E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#5965E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5965E9
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5965E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5965E9 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5965e9; /* rgb */ color: rgb(89, 101, 233); /* oklch */ color: oklch(57.1% 0.197 274.4);
Tailwind
colors: {
custom: {
50: '#9690f1',
500: '#5965e9',
950: '#000000',
},
}SCSS
$custom: #5965e9; $custom-light: #9690f1; $custom-dark: #000000;
JSON
{
"hex": "#5965e9",
"rgb": {
"r": 89,
"g": 101,
"b": 233
},
"hsl": {
"h": 235,
"s": 76.596,
"l": 63.137
},
"oklch": {
"l": 0.57117,
"c": 0.19714,
"h": 274.4
},
"luminance": 0.17314
}Semantic roles & 50–950 ramp
primary
#5965E9
secondary
#E9E4B5
accent
#C80DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85