#6787EA#6787EA
#6787EA is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.152 H 268.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6787EA |
|---|---|
| RGB | rgb(103, 135, 234) |
| HSL | hsl(225, 76%, 66%) |
| HSV | hsv(225, 56%, 92%) |
| CMYK | cmyk(56%, 42.3%, 0%, 8.2%) |
| CIE-LAB | lab(58.18, 17.27, -53.58) |
| CIE-LCH | lch(58.18, 56.29, 287.87°) |
| OKLab | oklab(64.56% -0.0042 -0.1524) |
| OKLCH | oklch(64.56% 0.152 268.4) |
| XYZ | xyz(29.1038, 26.1498, 81.3397) |
| Luminance | 0.2615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 0.75
Dodger Blue
#3E82FC
ΔE00 4.71
Cornflowerblue
#6495ED
ΔE00 5.02
Cornflower
#6A79F7
ΔE00 5.23
Lightish Blue
#3D7AFD
ΔE00 5.50
Faded Blue
#658CBB
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6787EA #EACA67
analogous
#67C8EA #6787EA #8867EA
triadic
#6787EA #EA6787 #87EA67
tetradic
#6787EA #EA67C8 #EACA67 #67EA88
square
#6787EA #EA67C8 #EACA67 #67EA88
split-complementary
#6787EA #EA8867 #C8EA67
monochromatic
#1A42BD #315DE3 #6787EA #9DB1F1 #D3DCF9
Accessibility & contrast
On white
3.37
#6787EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#6787EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6787EA
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6787EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6787EA | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#0F9DAD
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #6787ea; /* rgb */ color: rgb(103, 135, 234); /* oklch */ color: oklch(64.6% 0.152 268.4);
Tailwind
colors: {
custom: {
50: '#9ba9f1',
500: '#6787ea',
950: '#000000',
},
}SCSS
$custom: #6787ea; $custom-light: #9ba9f1; $custom-dark: #000000;
JSON
{
"hex": "#6787ea",
"rgb": {
"r": 103,
"g": 135,
"b": 234
},
"hsl": {
"h": 225.344,
"s": 75.723,
"l": 66.078
},
"oklch": {
"l": 0.64562,
"c": 0.15242,
"h": 268.4
},
"luminance": 0.26152
}Semantic roles & 50–950 ramp
primary
#6787EA
secondary
#ECE1C1
accent
#A60ED8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85