#6778EA#6778EA
#6778EA is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.171 H 273.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6778EA |
|---|---|
| RGB | rgb(103, 120, 234) |
| HSL | hsl(232, 76%, 66%) |
| HSV | hsv(232, 56%, 92%) |
| CMYK | cmyk(56%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(54.30, 26.31, -59.79) |
| CIE-LCH | lch(54.30, 65.32, 293.76°) |
| OKLab | oklab(61.6% 0.0117 -0.1708) |
| OKLCH | oklch(61.6% 0.171 273.9) |
| XYZ | xyz(27.1564, 22.2551, 80.6906) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.80
Cornflower Blue
#5170D7
ΔE00 5.00
Lightish Blue
#3D7AFD
ΔE00 5.49
Soft Blue
#6488EA
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 6.78
Royal Blue
#4169E1
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6778EA #EAD967
analogous
#67B9EA #6778EA #9767EA
triadic
#6778EA #EA6778 #78EA67
tetradic
#6778EA #EA67B9 #EAD967 #67EA97
square
#6778EA #EA67B9 #EAD967 #67EA97
split-complementary
#6778EA #EA9767 #B9EA67
monochromatic
#1A2FBD #3148E3 #6778EA #9DA8F1 #D3D8F9
Accessibility & contrast
On white
3.85
#6778EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#6778EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6778EA
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6778EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6778EA | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#2B7CE8
Tritanopia (blue-blind)
#1792A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6778ea; /* rgb */ color: rgb(103, 120, 234); /* oklch */ color: oklch(61.6% 0.171 273.9);
Tailwind
colors: {
custom: {
50: '#9c9ef1',
500: '#6778ea',
950: '#000000',
},
}SCSS
$custom: #6778ea; $custom-light: #9c9ef1; $custom-dark: #000000;
JSON
{
"hex": "#6778ea",
"rgb": {
"r": 103,
"g": 120,
"b": 234
},
"hsl": {
"h": 232.214,
"s": 75.723,
"l": 66.078
},
"oklch": {
"l": 0.61602,
"c": 0.17115,
"h": 273.9
},
"luminance": 0.22257
}Semantic roles & 50–950 ramp
primary
#6778EA
secondary
#ECE6C1
accent
#BE0ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85