#6782EC#6782EC
#6782EC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.7% C 0.161 H 270.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6782EC |
|---|---|
| RGB | rgb(103, 130, 236) |
| HSL | hsl(228, 78%, 66%) |
| HSV | hsv(228, 56%, 93%) |
| CMYK | cmyk(56.4%, 44.9%, 0%, 7.5%) |
| CIE-LAB | lab(56.98, 20.92, -56.60) |
| CIE-LCH | lch(56.98, 60.34, 290.28°) |
| OKLab | oklab(63.68% 0.0014 -0.1613) |
| OKLCH | oklch(63.68% 0.161 270.5) |
| XYZ | xyz(28.7115, 24.9028, 82.6343) |
| Luminance | 0.2490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.36
Cornflower
#6A79F7
ΔE00 3.56
Lightish Blue
#3D7AFD
ΔE00 4.94
Dodger Blue
#3E82FC
ΔE00 5.11
Clear Blue
#247AFD
ΔE00 6.44
Faded Blue
#658CBB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6782EC #ECD167
analogous
#67C4EC #6782EC #8F67EC
triadic
#6782EC #EC6782 #82EC67
tetradic
#6782EC #EC67C4 #ECD167 #67EC8F
square
#6782EC #EC67C4 #ECD167 #67EC8F
split-complementary
#6782EC #EC8F67 #C4EC67
monochromatic
#183AC1 #3155E5 #6782EC #9DAFF3 #D4DBFA
Accessibility & contrast
On white
3.51
#6782EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#6782EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6782EC
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6782EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6782EC | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#0B9AAB
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #6782ec; /* rgb */ color: rgb(103, 130, 236); /* oklch */ color: oklch(63.7% 0.161 270.5);
Tailwind
colors: {
custom: {
50: '#9ca5f3',
500: '#6782ec',
950: '#000000',
},
}SCSS
$custom: #6782ec; $custom-light: #9ca5f3; $custom-dark: #000000;
JSON
{
"hex": "#6782ec",
"rgb": {
"r": 103,
"g": 130,
"b": 236
},
"hsl": {
"h": 227.82,
"s": 77.778,
"l": 66.471
},
"oklch": {
"l": 0.6368,
"c": 0.16129,
"h": 270.5
},
"luminance": 0.24905
}Semantic roles & 50–950 ramp
primary
#6782EC
secondary
#EDE4C2
accent
#B00BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85