#6797E8#6797E8
#6797E8 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.8% C 0.131 H 260.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6797E8 |
|---|---|
| RGB | rgb(103, 151, 232) |
| HSL | hsl(218, 74%, 66%) |
| HSV | hsv(218, 56%, 91%) |
| CMYK | cmyk(55.6%, 34.9%, 0%, 9%) |
| CIE-LAB | lab(62.37, 7.17, -45.82) |
| CIE-LCH | lch(62.37, 46.38, 278.90°) |
| OKLab | oklab(67.77% -0.022 -0.1295) |
| OKLCH | oklch(67.77% 0.131 260.4) |
| XYZ | xyz(31.2206, 30.8405, 80.6359) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 0.76
Dark Sky Blue
#448EE4
ΔE00 4.86
Soft Blue
#6488EA
ΔE00 4.95
Dodgerblue
#1E90FF
ΔE00 5.71
Faded Blue
#658CBB
ΔE00 5.82
Dodger Blue
#3E82FC
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6797E8 #E8B867
analogous
#67D8E8 #6797E8 #7767E8
triadic
#6797E8 #E86797 #97E867
tetradic
#6797E8 #E867D8 #E8B867 #67E877
square
#6797E8 #E867D8 #E8B867 #67E877
split-complementary
#6797E8 #E87767 #D8E867
monochromatic
#1C56B9 #3273E0 #6797E8 #9CBBF0 #D1E0F8
Accessibility & contrast
On white
2.93
#6797E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#6797E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6797E8
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6797E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6797E8 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#07A9B5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #6797e8; /* rgb */ color: rgb(103, 151, 232); /* oklch */ color: oklch(67.8% 0.131 260.4);
Tailwind
colors: {
custom: {
50: '#9bb5ef',
500: '#6797e8',
950: '#000000',
},
}SCSS
$custom: #6797e8; $custom-light: #9bb5ef; $custom-dark: #000000;
JSON
{
"hex": "#6797e8",
"rgb": {
"r": 103,
"g": 151,
"b": 232
},
"hsl": {
"h": 217.674,
"s": 73.714,
"l": 65.686
},
"oklch": {
"l": 0.67769,
"c": 0.13138,
"h": 260.4
},
"luminance": 0.30843
}Semantic roles & 50–950 ramp
primary
#6797E8
secondary
#EBDBC0
accent
#8C10D6
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084