#7796F2#7796F2
#7796F2 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.0% C 0.140 H 268.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7796F2 |
|---|---|
| RGB | rgb(119, 150, 242) |
| HSL | hsl(225, 83%, 71%) |
| HSV | hsv(225, 51%, 95%) |
| CMYK | cmyk(50.8%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(63.46, 14.29, -49.56) |
| CIE-LCH | lch(63.46, 51.57, 286.08°) |
| OKLab | oklab(69% -0.0037 -0.1401) |
| OKLCH | oklch(69% 0.14 268.5) |
| XYZ | xyz(34.5359, 32.1431, 88.3716) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 3.55
Soft Blue
#6488EA
ΔE00 4.60
Periwinkle Blue
#8F99FB
ΔE00 4.71
Lavender Blue
#8B88F8
ΔE00 7.18
Faded Blue
#658CBB
ΔE00 7.31
Perrywinkle
#8F8CE7
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7796F2 #F2D377
analogous
#77D3F2 #7796F2 #9577F2
triadic
#7796F2 #F27796 #96F277
tetradic
#7796F2 #F277D3 #F2D377 #77F295
square
#7796F2 #F277D3 #F2D377 #77F295
split-complementary
#7796F2 #F29577 #D3F277
monochromatic
#1546DA #3F6BED #7796F2 #AFC1F7 #E3E9FC
Accessibility & contrast
On white
2.83
#7796F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#7796F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7796F2
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7796F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7796F2 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729FF6
Deuteranopia (green-blind)
#6495F0
Tritanopia (blue-blind)
#3FAAB8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #7796f2; /* rgb */ color: rgb(119, 150, 242); /* oklch */ color: oklch(69.0% 0.140 268.5);
Tailwind
colors: {
custom: {
50: '#a5b4f7',
500: '#7796f2',
950: '#000000',
},
}SCSS
$custom: #7796f2; $custom-light: #a5b4f7; $custom-dark: #000000;
JSON
{
"hex": "#7796f2",
"rgb": {
"r": 119,
"g": 150,
"b": 242
},
"hsl": {
"h": 224.878,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.69002,
"c": 0.1402,
"h": 268.5
},
"luminance": 0.32145
}Semantic roles & 50–950 ramp
primary
#7796F2
secondary
#F3EBD2
accent
#A807DF
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085