#6798F5#6798F5
#6798F5 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.7% C 0.148 H 262.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6798F5 |
|---|---|
| RGB | rgb(103, 152, 245) |
| HSL | hsl(219, 88%, 68%) |
| HSV | hsv(219, 58%, 96%) |
| CMYK | cmyk(58%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(63.28, 10.73, -51.54) |
| CIE-LCH | lch(63.28, 52.64, 281.76°) |
| OKLab | oklab(68.69% -0.0201 -0.1462) |
| OKLCH | oklch(68.69% 0.148 262.2) |
| XYZ | xyz(33.2975, 31.9298, 90.7769) |
| Luminance | 0.3193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.23
Soft Blue
#6488EA
ΔE00 5.23
Dark Sky Blue
#448EE4
ΔE00 5.63
Dodgerblue
#1E90FF
ΔE00 6.06
Dodger Blue
#3E82FC
ΔE00 6.94
Faded Blue
#658CBB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6798F5 #F5C467
analogous
#67DFF5 #6798F5 #7D67F5
triadic
#6798F5 #F56798 #98F567
tetradic
#6798F5 #F567DF #F5C467 #67F57D
square
#6798F5 #F567DF #F5C467 #67F57D
split-complementary
#6798F5 #F57D67 #DFF567
monochromatic
#0E52D4 #2E71F1 #6798F5 #A0BFF9 #DAE6FD
Accessibility & contrast
On white
2.84
#6798F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#6798F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6798F5
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6798F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6798F5 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #6798f5; /* rgb */ color: rgb(103, 152, 245); /* oklch */ color: oklch(68.7% 0.148 262.2);
Tailwind
colors: {
custom: {
50: '#9db5f9',
500: '#6798f5',
950: '#000000',
},
}SCSS
$custom: #6798f5; $custom-light: #9db5f9; $custom-dark: #000000;
JSON
{
"hex": "#6798f5",
"rgb": {
"r": 103,
"g": 152,
"b": 245
},
"hsl": {
"h": 219.296,
"s": 87.654,
"l": 68.235
},
"oklch": {
"l": 0.68687,
"c": 0.14758,
"h": 262.2
},
"luminance": 0.31933
}Semantic roles & 50–950 ramp
primary
#6798F5
secondary
#F1E3C6
accent
#9601E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085