#6887F2#6887F2
#6887F2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.163 H 269.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6887F2 |
|---|---|
| RGB | rgb(104, 135, 242) |
| HSL | hsl(227, 84%, 68%) |
| HSV | hsv(227, 57%, 95%) |
| CMYK | cmyk(57%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.68, 20.04, -57.22) |
| CIE-LCH | lch(58.68, 60.62, 289.30°) |
| OKLab | oklab(65.1% -0.0019 -0.163) |
| OKLCH | oklch(65.1% 0.163 269.3) |
| XYZ | xyz(30.3946, 26.6794, 87.5351) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.42
Dodger Blue
#3E82FC
ΔE00 4.84
Cornflower
#6A79F7
ΔE00 4.84
Cornflowerblue
#6495ED
ΔE00 5.20
Lightish Blue
#3D7AFD
ΔE00 5.51
Faded Blue
#658CBB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6887F2 #F2D368
analogous
#68CCF2 #6887F2 #8E68F2
triadic
#6887F2 #F26887 #87F268
tetradic
#6887F2 #F268CC #F2D368 #68F28E
square
#6887F2 #F268CC #F2D368 #68F28E
split-complementary
#6887F2 #F28E68 #CCF268
monochromatic
#123CCE #305AED #6887F2 #A0B4F7 #D9E1FC
Accessibility & contrast
On white
3.31
#6887F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#6887F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6887F2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6887F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6887F2 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4387F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #6887f2; /* rgb */ color: rgb(104, 135, 242); /* oklch */ color: oklch(65.1% 0.163 269.3);
Tailwind
colors: {
custom: {
50: '#9da9f7',
500: '#6887f2',
950: '#000000',
},
}SCSS
$custom: #6887f2; $custom-light: #9da9f7; $custom-dark: #000000;
JSON
{
"hex": "#6887f2",
"rgb": {
"r": 104,
"g": 135,
"b": 242
},
"hsl": {
"h": 226.522,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.65101,
"c": 0.16302,
"h": 269.3
},
"luminance": 0.26682
}Semantic roles & 50–950 ramp
primary
#6887F2
secondary
#F0E7C6
accent
#AF05E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85