#5965E4#5965E4
#5965E4 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.191 H 274.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5965E4 |
|---|---|
| RGB | rgb(89, 101, 228) |
| HSL | hsl(235, 72%, 62%) |
| HSV | hsv(235, 61%, 89%) |
| CMYK | cmyk(61%, 55.7%, 0%, 10.6%) |
| CIE-LAB | lab(48.30, 33.40, -66.14) |
| CIE-LCH | lch(48.30, 74.09, 296.79°) |
| OKLab | oklab(56.74% 0.015 -0.19) |
| OKLCH | oklch(56.74% 0.191 274.5) |
| XYZ | xyz(22.7725, 17.0308, 75.4710) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.97
Dark Periwinkle
#665FD1
ΔE00 4.04
Cornflower Blue
#5170D7
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 4.83
Azul
#1D5DEC
ΔE00 5.53
Bright Blue
#0165FC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5965E4 #E4D859
analogous
#59ABE4 #5965E4 #9359E4
triadic
#5965E4 #E45965 #65E459
tetradic
#5965E4 #E459AB #E4D859 #59E493
square
#5965E4 #E459AB #E4D859 #59E493
split-complementary
#5965E4 #E49359 #ABE459
monochromatic
#1B27A7 #2434DB #5965E4 #8E96ED #C2C7F5
Accessibility & contrast
On white
4.77
#5965E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#5965E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5965E4
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5965E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5965E4 | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5965e4; /* rgb */ color: rgb(89, 101, 228); /* oklch */ color: oklch(56.7% 0.191 274.5);
Tailwind
colors: {
custom: {
50: '#9590ed',
500: '#5965e4',
950: '#000000',
},
}SCSS
$custom: #5965e4; $custom-light: #9590ed; $custom-dark: #000000;
JSON
{
"hex": "#5965e4",
"rgb": {
"r": 89,
"g": 101,
"b": 228
},
"hsl": {
"h": 234.82,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.56743,
"c": 0.19055,
"h": 274.5
},
"luminance": 0.17033
}Semantic roles & 50–950 ramp
primary
#5965E4
secondary
#E6E2B3
accent
#C311D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84