#6794F5#6794F5
#6794F5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.9% C 0.152 H 264.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6794F5 |
|---|---|
| RGB | rgb(103, 148, 245) |
| HSL | hsl(221, 88%, 68%) |
| HSV | hsv(221, 58%, 96%) |
| CMYK | cmyk(58%, 39.6%, 0%, 3.9%) |
| CIE-LAB | lab(62.21, 13.08, -53.24) |
| CIE-LCH | lch(62.21, 54.82, 283.80°) |
| OKLab | oklab(67.86% -0.0159 -0.1512) |
| OKLCH | oklch(67.86% 0.152 264) |
| XYZ | xyz(32.6592, 30.6532, 90.5641) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.29
Soft Blue
#6488EA
ΔE00 3.96
Dark Sky Blue
#448EE4
ΔE00 5.68
Dodger Blue
#3E82FC
ΔE00 6.04
Dodgerblue
#1E90FF
ΔE00 6.41
Faded Blue
#658CBB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6794F5 #F5C867
analogous
#67DBF5 #6794F5 #8167F5
triadic
#6794F5 #F56794 #94F567
tetradic
#6794F5 #F567DB #F5C867 #67F581
square
#6794F5 #F567DB #F5C867 #67F581
split-complementary
#6794F5 #F58167 #DBF567
monochromatic
#0E4DD4 #2E6CF1 #6794F5 #A0BCF9 #DAE5FD
Accessibility & contrast
On white
2.94
#6794F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#6794F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6794F5
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6794F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6794F5 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#00AAB9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #6794f5; /* rgb */ color: rgb(103, 148, 245); /* oklch */ color: oklch(67.9% 0.152 264.0);
Tailwind
colors: {
custom: {
50: '#9db3f9',
500: '#6794f5',
950: '#000000',
},
}SCSS
$custom: #6794f5; $custom-light: #9db3f9; $custom-dark: #000000;
JSON
{
"hex": "#6794f5",
"rgb": {
"r": 103,
"g": 148,
"b": 245
},
"hsl": {
"h": 220.986,
"s": 87.654,
"l": 68.235
},
"oklch": {
"l": 0.67858,
"c": 0.15206,
"h": 264
},
"luminance": 0.30656
}Semantic roles & 50–950 ramp
primary
#6794F5
secondary
#F1E4C6
accent
#9C01E4
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#0F1017
muted
#7F7F85