#6798EA#6798EA
#6798EA is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.133 H 260.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6798EA |
|---|---|
| RGB | rgb(103, 152, 234) |
| HSL | hsl(218, 76%, 66%) |
| HSV | hsv(218, 56%, 92%) |
| CMYK | cmyk(56%, 35%, 0%, 8.2%) |
| CIE-LAB | lab(62.74, 7.22, -46.34) |
| CIE-LCH | lch(62.74, 46.90, 278.86°) |
| OKLab | oklab(68.09% -0.0226 -0.131) |
| OKLCH | oklch(68.09% 0.133 260.2) |
| XYZ | xyz(31.6679, 31.2780, 82.1944) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 0.94
Dark Sky Blue
#448EE4
ΔE00 4.99
Soft Blue
#6488EA
ΔE00 5.26
Dodgerblue
#1E90FF
ΔE00 5.70
Faded Blue
#658CBB
ΔE00 6.13
Dodger Blue
#3E82FC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6798EA #EAB967
analogous
#67DAEA #6798EA #7767EA
triadic
#6798EA #EA6798 #98EA67
tetradic
#6798EA #EA67DA #EAB967 #67EA77
square
#6798EA #EA67DA #EAB967 #67EA77
split-complementary
#6798EA #EA7767 #DAEA67
monochromatic
#1A57BD #3174E3 #6798EA #9DBCF1 #D3E1F9
Accessibility & contrast
On white
2.89
#6798EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#6798EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6798EA
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6798EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6798EA | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #6798ea; /* rgb */ color: rgb(103, 152, 234); /* oklch */ color: oklch(68.1% 0.133 260.2);
Tailwind
colors: {
custom: {
50: '#9bb6f1',
500: '#6798ea',
950: '#000000',
},
}SCSS
$custom: #6798ea; $custom-light: #9bb6f1; $custom-dark: #000000;
JSON
{
"hex": "#6798ea",
"rgb": {
"r": 103,
"g": 152,
"b": 234
},
"hsl": {
"h": 217.557,
"s": 75.723,
"l": 66.078
},
"oklch": {
"l": 0.68087,
"c": 0.13297,
"h": 260.2
},
"luminance": 0.31281
}Semantic roles & 50–950 ramp
primary
#6798EA
secondary
#ECDCC1
accent
#8C0ED8
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085