#5F66CF#5F66CF
#5F66CF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.159 H 277.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5F66CF |
|---|---|
| RGB | rgb(95, 102, 207) |
| HSL | hsl(236, 54%, 59%) |
| HSV | hsv(236, 54%, 81%) |
| CMYK | cmyk(54.1%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.55, 27.06, -55.40) |
| CIE-LCH | lch(47.55, 61.66, 296.04°) |
| OKLab | oklab(55.84% 0.0195 -0.1582) |
| OKLCH | oklch(55.84% 0.159 277) |
| XYZ | xyz(20.7296, 16.4393, 61.1001) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.93
Slate Blue
#6A5ACD
ΔE00 4.81
Cornflower Blue
#5170D7
ΔE00 4.88
Royal Blue
#4169E1
ΔE00 5.01
Iris
#6258C4
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F66CF #CFC85F
analogous
#5F9ECF #5F66CF #905FCF
triadic
#5F66CF #CF5F66 #66CF5F
tetradic
#5F66CF #CF5F9E #CFC85F #5FCF90
square
#5F66CF #CF5F9E #CFC85F #5FCF90
split-complementary
#5F66CF #CF905F #9ECF5F
monochromatic
#292F8A #3840B9 #5F66CF #8E93DD #BDC0EB
Accessibility & contrast
On white
4.90
#5F66CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5F66CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F66CF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F66CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F66CF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3075D3
Deuteranopia (green-blind)
#206CCD
Tritanopia (blue-blind)
#297D91
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5f66cf; /* rgb */ color: rgb(95, 102, 207); /* oklch */ color: oklch(55.8% 0.159 277.0);
Tailwind
colors: {
custom: {
50: '#9591de',
500: '#5f66cf',
950: '#000000',
},
}SCSS
$custom: #5f66cf; $custom-light: #9591de; $custom-dark: #000000;
JSON
{
"hex": "#5f66cf",
"rgb": {
"r": 95,
"g": 102,
"b": 207
},
"hsl": {
"h": 236.25,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.55836,
"c": 0.15942,
"h": 277
},
"luminance": 0.16441
}Semantic roles & 50–950 ramp
primary
#5F66CF
secondary
#DBD8AF
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83