#5F64CC#5F64CC
#5F64CC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.158 H 277.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F64CC |
|---|---|
| RGB | rgb(95, 100, 204) |
| HSL | hsl(237, 52%, 59%) |
| HSV | hsv(237, 53%, 80%) |
| CMYK | cmyk(53.4%, 51%, 0%, 20%) |
| CIE-LAB | lab(46.85, 27.34, -54.80) |
| CIE-LCH | lch(46.85, 61.24, 296.51°) |
| OKLab | oklab(55.25% 0.0215 -0.1565) |
| OKLCH | oklch(55.25% 0.158 277.8) |
| XYZ | xyz(20.1721, 15.9056, 59.1222) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.45
Slate Blue
#6A5ACD
ΔE00 4.21
Iris
#6258C4
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F64CC #CCC75F
analogous
#5F9ACC #5F64CC #905FCC
triadic
#5F64CC #CC5F64 #64CC5F
tetradic
#5F64CC #CC5F9A #CCC75F #5FCC90
square
#5F64CC #CC5F9A #CCC75F #5FCC90
split-complementary
#5F64CC #CC905F #9ACC5F
monochromatic
#2B2F86 #393FB4 #5F64CC #8D91DB #BCBEEA
Accessibility & contrast
On white
5.02
#5F64CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5F64CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F64CC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F64CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F64CC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E74D0
Deuteranopia (green-blind)
#1F6BCA
Tritanopia (blue-blind)
#2D7B8E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5f64cc; /* rgb */ color: rgb(95, 100, 204); /* oklch */ color: oklch(55.3% 0.158 277.8);
Tailwind
colors: {
custom: {
50: '#9490dc',
500: '#5f64cc',
950: '#000000',
},
}SCSS
$custom: #5f64cc; $custom-light: #9490dc; $custom-dark: #000000;
JSON
{
"hex": "#5f64cc",
"rgb": {
"r": 95,
"g": 100,
"b": 204
},
"hsl": {
"h": 237.248,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.55252,
"c": 0.15794,
"h": 277.8
},
"luminance": 0.15907
}Semantic roles & 50–950 ramp
primary
#5F64CC
secondary
#D9D7AE
accent
#D54DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83