#6C87F2#6C87F2
#6C87F2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.162 H 270.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6C87F2 |
|---|---|
| RGB | rgb(108, 135, 242) |
| HSL | hsl(228, 84%, 69%) |
| HSV | hsv(228, 55%, 95%) |
| CMYK | cmyk(55.4%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.90, 20.83, -56.84) |
| CIE-LCH | lch(58.90, 60.53, 290.13°) |
| OKLab | oklab(65.33% 0.002 -0.1618) |
| OKLCH | oklch(65.33% 0.162 270.7) |
| XYZ | xyz(30.8700, 26.9246, 87.5574) |
| Luminance | 0.2693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.00
Cornflower
#6A79F7
ΔE00 4.57
Dodger Blue
#3E82FC
ΔE00 5.51
Cornflowerblue
#6495ED
ΔE00 5.61
Lavender Blue
#8B88F8
ΔE00 5.90
Lightish Blue
#3D7AFD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C87F2 #F2D76C
analogous
#6CCAF2 #6C87F2 #946CF2
triadic
#6C87F2 #F26C87 #87F26C
tetradic
#6C87F2 #F26CCA #F2D76C #6CF294
square
#6C87F2 #F26CCA #F2D76C #6CF294
split-complementary
#6C87F2 #F2946C #CAF26C
monochromatic
#1239D1 #3459ED #6C87F2 #A4B5F7 #DCE3FC
Accessibility & contrast
On white
3.29
#6C87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#6C87F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C87F2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C87F2 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#1B9FB1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #6c87f2; /* rgb */ color: rgb(108, 135, 242); /* oklch */ color: oklch(65.3% 0.162 270.7);
Tailwind
colors: {
custom: {
50: '#9fa9f7',
500: '#6c87f2',
950: '#000000',
},
}SCSS
$custom: #6c87f2; $custom-light: #9fa9f7; $custom-dark: #000000;
JSON
{
"hex": "#6c87f2",
"rgb": {
"r": 108,
"g": 135,
"b": 242
},
"hsl": {
"h": 227.91,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.65335,
"c": 0.16183,
"h": 270.7
},
"luminance": 0.26927
}Semantic roles & 50–950 ramp
primary
#6C87F2
secondary
#F1E9C9
accent
#B405E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85