#5C64CC#5C64CC
#5C64CC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.159 H 276.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5C64CC |
|---|---|
| RGB | rgb(92, 100, 204) |
| HSL | hsl(236, 52%, 58%) |
| HSV | hsv(236, 55%, 80%) |
| CMYK | cmyk(54.9%, 51%, 0%, 20%) |
| CIE-LAB | lab(46.64, 26.72, -55.15) |
| CIE-LCH | lch(46.64, 61.28, 295.85°) |
| OKLab | oklab(55.04% 0.0181 -0.1576) |
| OKLCH | oklch(55.04% 0.159 276.5) |
| XYZ | xyz(19.8664, 15.7479, 59.1078) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.86
Iris
#6258C4
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 5.00
Royal Blue
#4169E1
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C64CC #CCC45C
analogous
#5C9CCC #5C64CC #8C5CCC
triadic
#5C64CC #CC5C64 #64CC5C
tetradic
#5C64CC #CC5C9C #CCC45C #5CCC8C
square
#5C64CC #CC5C9C #CCC45C #5CCC8C
split-complementary
#5C64CC #CC8C5C #9CCC5C
monochromatic
#293084 #3841B3 #5C64CC #8B90DB #B9BDE9
Accessibility & contrast
On white
5.06
#5C64CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5C64CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C64CC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C64CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C64CC | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#237B8E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5c64cc; /* rgb */ color: rgb(92, 100, 204); /* oklch */ color: oklch(55.0% 0.159 276.5);
Tailwind
colors: {
custom: {
50: '#9390dc',
500: '#5c64cc',
950: '#000000',
},
}SCSS
$custom: #5c64cc; $custom-light: #9390dc; $custom-dark: #000000;
JSON
{
"hex": "#5c64cc",
"rgb": {
"r": 92,
"g": 100,
"b": 204
},
"hsl": {
"h": 235.714,
"s": 52.336,
"l": 58.039
},
"oklch": {
"l": 0.55042,
"c": 0.15859,
"h": 276.5
},
"luminance": 0.15749
}Semantic roles & 50–950 ramp
primary
#5C64CC
secondary
#D8D5AC
accent
#D14CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83