#6A78F5#6A78F5
#6A78F5 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.185 H 274.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6A78F5 |
|---|---|
| RGB | rgb(106, 120, 245) |
| HSL | hsl(234, 87%, 69%) |
| HSV | hsv(234, 57%, 96%) |
| CMYK | cmyk(56.7%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(55.16, 30.40, -64.51) |
| CIE-LCH | lch(55.16, 71.31, 295.23°) |
| OKLab | oklab(62.52% 0.0158 -0.1846) |
| OKLCH | oklch(62.52% 0.185 274.9) |
| XYZ | xyz(29.1364, 23.0876, 89.2895) |
| Luminance | 0.2309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 0.41
Lightish Blue
#3D7AFD
ΔE00 5.82
Soft Blue
#6488EA
ΔE00 6.07
Cornflower Blue
#5170D7
ΔE00 6.26
Mediumslateblue
#7B68EE
ΔE00 6.32
Periwinkle (survey)
#8E82FE
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A78F5 #F5E76A
analogous
#6ABEF5 #6A78F5 #A26AF5
triadic
#6A78F5 #F56A78 #78F56A
tetradic
#6A78F5 #F56ABE #F5E76A #6AF5A2
square
#6A78F5 #F56ABE #F5E76A #6AF5A2
split-complementary
#6A78F5 #F5A26A #BEF56A
monochromatic
#0E23D6 #3144F1 #6A78F5 #A3ACF9 #DDE0FD
Accessibility & contrast
On white
3.74
#6A78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#6A78F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A78F5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A78F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A78F5 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338AF9
Deuteranopia (green-blind)
#137EF2
Tritanopia (blue-blind)
#0B94AB
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #6a78f5; /* rgb */ color: rgb(106, 120, 245); /* oklch */ color: oklch(62.5% 0.185 274.9);
Tailwind
colors: {
custom: {
50: '#9f9ef9',
500: '#6a78f5',
950: '#000000',
},
}SCSS
$custom: #6a78f5; $custom-light: #9f9ef9; $custom-dark: #000000;
JSON
{
"hex": "#6a78f5",
"rgb": {
"r": 106,
"g": 120,
"b": 245
},
"hsl": {
"h": 233.957,
"s": 87.421,
"l": 68.824
},
"oklch": {
"l": 0.62522,
"c": 0.18524,
"h": 274.9
},
"luminance": 0.2309
}Semantic roles & 50–950 ramp
primary
#6A78F5
secondary
#F2EEC9
accent
#CD02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85