#5F66CC#5F66CC
#5F66CC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.155 H 277.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F66CC |
|---|---|
| RGB | rgb(95, 102, 204) |
| HSL | hsl(236, 52%, 59%) |
| HSV | hsv(236, 53%, 80%) |
| CMYK | cmyk(53.4%, 50%, 0%, 20%) |
| CIE-LAB | lab(47.36, 26.11, -53.99) |
| CIE-LCH | lch(47.36, 59.97, 295.81°) |
| OKLab | oklab(55.63% 0.0193 -0.154) |
| OKLCH | oklch(55.63% 0.155 277.1) |
| XYZ | xyz(20.3663, 16.2940, 59.1869) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.03
Slate Blue
#6A5ACD
ΔE00 4.83
Iris
#6258C4
ΔE00 4.96
Cornflower Blue
#5170D7
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F66CC #CCC55F
analogous
#5F9CCC #5F66CC #8E5FCC
triadic
#5F66CC #CC5F66 #66CC5F
tetradic
#5F66CC #CC5F9C #CCC55F #5FCC8E
square
#5F66CC #CC5F9C #CCC55F #5FCC8E
split-complementary
#5F66CC #CC8E5F #9CCC5F
monochromatic
#2B3186 #3941B4 #5F66CC #8D92DB #BCBFEA
Accessibility & contrast
On white
4.93
#5F66CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5F66CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F66CC
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F66CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F66CC | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#2C7D8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f66cc; /* rgb */ color: rgb(95, 102, 204); /* oklch */ color: oklch(55.6% 0.155 277.1);
Tailwind
colors: {
custom: {
50: '#9491dc',
500: '#5f66cc',
950: '#000000',
},
}SCSS
$custom: #5f66cc; $custom-light: #9491dc; $custom-dark: #000000;
JSON
{
"hex": "#5f66cc",
"rgb": {
"r": 95,
"g": 102,
"b": 204
},
"hsl": {
"h": 236.147,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.55634,
"c": 0.15525,
"h": 277.1
},
"luminance": 0.16295
}Semantic roles & 50–950 ramp
primary
#5F66CC
secondary
#D9D6AE
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83