#6796F5#6796F5
#6796F5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.3% C 0.150 H 263.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6796F5 |
|---|---|
| RGB | rgb(103, 150, 245) |
| HSL | hsl(220, 88%, 68%) |
| HSV | hsv(220, 58%, 96%) |
| CMYK | cmyk(58%, 38.8%, 0%, 3.9%) |
| CIE-LAB | lab(62.75, 11.90, -52.39) |
| CIE-LCH | lch(62.75, 53.72, 282.80°) |
| OKLab | oklab(68.27% -0.018 -0.1487) |
| OKLCH | oklch(68.27% 0.15 263.1) |
| XYZ | xyz(32.9756, 31.2861, 90.6696) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.07
Soft Blue
#6488EA
ΔE00 4.59
Dark Sky Blue
#448EE4
ΔE00 5.62
Dodgerblue
#1E90FF
ΔE00 6.20
Dodger Blue
#3E82FC
ΔE00 6.48
Faded Blue
#658CBB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6796F5 #F5C667
analogous
#67DDF5 #6796F5 #7F67F5
triadic
#6796F5 #F56796 #96F567
tetradic
#6796F5 #F567DD #F5C667 #67F57F
square
#6796F5 #F567DD #F5C667 #67F57F
split-complementary
#6796F5 #F57F67 #DDF567
monochromatic
#0E4FD4 #2E6EF1 #6796F5 #A0BEF9 #DAE5FD
Accessibility & contrast
On white
2.89
#6796F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#6796F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6796F5
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6796F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6796F5 | 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)
#6E9FF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #6796f5; /* rgb */ color: rgb(103, 150, 245); /* oklch */ color: oklch(68.3% 0.150 263.1);
Tailwind
colors: {
custom: {
50: '#9db4f9',
500: '#6796f5',
950: '#000000',
},
}SCSS
$custom: #6796f5; $custom-light: #9db4f9; $custom-dark: #000000;
JSON
{
"hex": "#6796f5",
"rgb": {
"r": 103,
"g": 150,
"b": 245
},
"hsl": {
"h": 220.141,
"s": 87.654,
"l": 68.235
},
"oklch": {
"l": 0.68271,
"c": 0.1498,
"h": 263.1
},
"luminance": 0.31289
}Semantic roles & 50–950 ramp
primary
#6796F5
secondary
#F1E3C6
accent
#9901E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085