#6798E8#6798E8
#6798E8 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.130 H 259.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6798E8 |
|---|---|
| RGB | rgb(103, 152, 232) |
| HSL | hsl(217, 74%, 66%) |
| HSV | hsv(217, 56%, 91%) |
| CMYK | cmyk(55.6%, 34.5%, 0%, 9%) |
| CIE-LAB | lab(62.65, 6.59, -45.39) |
| CIE-LCH | lch(62.65, 45.87, 278.26°) |
| OKLab | oklab(67.98% -0.0231 -0.1283) |
| OKLCH | oklch(67.98% 0.13 259.8) |
| XYZ | xyz(31.3822, 31.1637, 80.6897) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.03
Dark Sky Blue
#448EE4
ΔE00 4.89
Soft Blue
#6488EA
ΔE00 5.29
Dodgerblue
#1E90FF
ΔE00 5.65
Faded Blue
#658CBB
ΔE00 5.99
Dodger Blue
#3E82FC
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6798E8 #E8B767
analogous
#67D9E8 #6798E8 #7667E8
triadic
#6798E8 #E86798 #98E867
tetradic
#6798E8 #E867D9 #E8B767 #67E876
square
#6798E8 #E867D9 #E8B767 #67E876
split-complementary
#6798E8 #E87667 #D9E867
monochromatic
#1C57B9 #3274E0 #6798E8 #9CBCF0 #D1E0F8
Accessibility & contrast
On white
2.90
#6798E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#6798E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6798E8
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6798E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6798E8 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#06AAB5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #6798e8; /* rgb */ color: rgb(103, 152, 232); /* oklch */ color: oklch(68.0% 0.130 259.8);
Tailwind
colors: {
custom: {
50: '#9bb6ef',
500: '#6798e8',
950: '#000000',
},
}SCSS
$custom: #6798e8; $custom-light: #9bb6ef; $custom-dark: #000000;
JSON
{
"hex": "#6798e8",
"rgb": {
"r": 103,
"g": 152,
"b": 232
},
"hsl": {
"h": 217.209,
"s": 73.714,
"l": 65.686
},
"oklch": {
"l": 0.67981,
"c": 0.13033,
"h": 259.8
},
"luminance": 0.31166
}Semantic roles & 50–950 ramp
primary
#6798E8
secondary
#EBDBC0
accent
#8B10D6
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084