#6657CC#6657CC
#6657CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.174 H 284.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6657CC |
|---|---|
| RGB | rgb(102, 87, 204) |
| HSL | hsl(248, 53%, 57%) |
| HSV | hsv(248, 57%, 80%) |
| CMYK | cmyk(50%, 57.4%, 0%, 20%) |
| CIE-LAB | lab(44.23, 36.69, -59.00) |
| CIE-LCH | lch(44.23, 69.48, 301.88°) |
| OKLab | oklab(53.44% 0.0441 -0.1687) |
| OKLCH | oklch(53.44% 0.174 284.7) |
| XYZ | xyz(19.7835, 13.9998, 58.7748) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.10
Iris
#6258C4
ΔE00 1.44
Light Indigo
#6D5ACF
ΔE00 1.54
Dark Periwinkle
#665FD1
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6657CC #BDCC57
analogous
#5783CC #6657CC #A057CC
triadic
#6657CC #CC6657 #57CC66
tetradic
#6657CC #CC5783 #BDCC57 #57CCA0
square
#6657CC #CC5783 #BDCC57 #57CCA0
split-complementary
#6657CC #CCA057 #83CC57
monochromatic
#332781 #4536B0 #6657CC #9186DA #BCB5E9
Accessibility & contrast
On white
5.53
#6657CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#6657CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6657CC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6657CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6657CC | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#407289
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6657cc; /* rgb */ color: rgb(102, 87, 204); /* oklch */ color: oklch(53.4% 0.174 284.7);
Tailwind
colors: {
custom: {
50: '#9987dc',
500: '#6657cc',
950: '#000000',
},
}SCSS
$custom: #6657cc; $custom-light: #9987dc; $custom-dark: #000000;
JSON
{
"hex": "#6657cc",
"rgb": {
"r": 102,
"g": 87,
"b": 204
},
"hsl": {
"h": 247.692,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.53436,
"c": 0.17438,
"h": 284.7
},
"luminance": 0.14001
}Semantic roles & 50–950 ramp
primary
#6657CC
secondary
#D1D7A8
accent
#DD4BCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83