#5964E3#5964E3
#5964E3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.190 H 274.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5964E3 |
|---|---|
| RGB | rgb(89, 100, 227) |
| HSL | hsl(235, 71%, 62%) |
| HSV | hsv(235, 61%, 89%) |
| CMYK | cmyk(60.8%, 55.9%, 0%, 11%) |
| CIE-LAB | lab(47.98, 33.68, -66.08) |
| CIE-LCH | lch(47.98, 74.17, 297.01°) |
| OKLab | oklab(56.49% 0.0159 -0.1898) |
| OKLCH | oklch(56.49% 0.19 274.8) |
| XYZ | xyz(22.5376, 16.7824, 74.7098) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.76
Royal Blue
#4169E1
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.50
Cornflower Blue
#5170D7
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.45
Slate Blue
#6A5ACD
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5964E3 #E3D859
analogous
#59A9E3 #5964E3 #9359E3
triadic
#5964E3 #E35964 #64E359
tetradic
#5964E3 #E359A9 #E3D859 #59E393
square
#5964E3 #E359A9 #E3D859 #59E393
split-complementary
#5964E3 #E39359 #A9E359
monochromatic
#1C27A6 #2533DA #5964E3 #8D95EC #C2C6F5
Accessibility & contrast
On white
4.82
#5964E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5964E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5964E3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5964E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5964E3 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5964e3; /* rgb */ color: rgb(89, 100, 227); /* oklch */ color: oklch(56.5% 0.190 274.8);
Tailwind
colors: {
custom: {
50: '#9590ed',
500: '#5964e3',
950: '#000000',
},
}SCSS
$custom: #5964e3; $custom-light: #9590ed; $custom-dark: #000000;
JSON
{
"hex": "#5964e3",
"rgb": {
"r": 89,
"g": 100,
"b": 227
},
"hsl": {
"h": 235.217,
"s": 71.134,
"l": 61.961
},
"oklch": {
"l": 0.56486,
"c": 0.19047,
"h": 274.8
},
"luminance": 0.16784
}Semantic roles & 50–950 ramp
primary
#5964E3
secondary
#E5E1B2
accent
#C412D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84