#5F66CD#5F66CD
#5F66CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.157 H 277.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F66CD |
|---|---|
| RGB | rgb(95, 102, 205) |
| HSL | hsl(236, 52%, 59%) |
| HSV | hsv(236, 54%, 80%) |
| CMYK | cmyk(53.7%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.42, 26.43, -54.46) |
| CIE-LCH | lch(47.42, 60.53, 295.88°) |
| OKLab | oklab(55.7% 0.0194 -0.1554) |
| OKLCH | oklch(55.7% 0.157 277.1) |
| XYZ | xyz(20.4866, 16.3421, 59.8206) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 4.82
Cornflower Blue
#5170D7
ΔE00 4.95
Iris
#6258C4
ΔE00 4.99
Royal Blue
#4169E1
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F66CD #CDC65F
analogous
#5F9DCD #5F66CD #8F5FCD
triadic
#5F66CD #CD5F66 #66CD5F
tetradic
#5F66CD #CD5F9D #CDC65F #5FCD8F
square
#5F66CD #CD5F9D #CDC65F #5FCD8F
split-complementary
#5F66CD #CD8F5F #9DCD5F
monochromatic
#2A3087 #3941B6 #5F66CD #8E93DC #BCBFEA
Accessibility & contrast
On white
4.92
#5F66CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#5F66CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F66CD
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F66CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F66CD | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#236CCB
Tritanopia (blue-blind)
#2B7D90
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f66cd; /* rgb */ color: rgb(95, 102, 205); /* oklch */ color: oklch(55.7% 0.157 277.1);
Tailwind
colors: {
custom: {
50: '#9491dd',
500: '#5f66cd',
950: '#000000',
},
}SCSS
$custom: #5f66cd; $custom-light: #9491dd; $custom-dark: #000000;
JSON
{
"hex": "#5f66cd",
"rgb": {
"r": 95,
"g": 102,
"b": 205
},
"hsl": {
"h": 236.182,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.55701,
"c": 0.15664,
"h": 277.1
},
"luminance": 0.16343
}Semantic roles & 50–950 ramp
primary
#5F66CD
secondary
#DAD7AE
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83