#7791F6#7791F6
#7791F6 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.2% C 0.152 H 271.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7791F6 |
|---|---|
| RGB | rgb(119, 145, 246) |
| HSL | hsl(228, 88%, 72%) |
| HSV | hsv(228, 52%, 96%) |
| CMYK | cmyk(51.6%, 41.1%, 0%, 3.5%) |
| CIE-LAB | lab(62.36, 18.44, -53.50) |
| CIE-LCH | lch(62.36, 56.59, 289.02°) |
| OKLab | oklab(68.22% 0.0027 -0.1517) |
| OKLCH | oklch(68.22% 0.152 271) |
| XYZ | xyz(34.3623, 30.8242, 91.3099) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.89
Periwinkle Blue
#8F99FB
ΔE00 4.45
Cornflowerblue
#6495ED
ΔE00 4.59
Lavender Blue
#8B88F8
ΔE00 5.71
Perrywinkle
#8F8CE7
ΔE00 6.46
Cornflower
#6A79F7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7791F6 #F6DC77
analogous
#77D0F6 #7791F6 #9D77F6
triadic
#7791F6 #F67791 #91F677
tetradic
#7791F6 #F677D0 #F6DC77 #77F69D
square
#7791F6 #F677D0 #F6DC77 #77F69D
split-complementary
#7791F6 #F69D77 #D0F677
monochromatic
#0F3BE4 #3E63F2 #7791F6 #B0BFFA #E2E8FD
Accessibility & contrast
On white
2.93
#7791F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#7791F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7791F6
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7791F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7791F6 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#3CA7B8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #7791f6; /* rgb */ color: rgb(119, 145, 246); /* oklch */ color: oklch(68.2% 0.152 271.0);
Tailwind
colors: {
custom: {
50: '#a6b0f9',
500: '#7791f6',
950: '#000000',
},
}SCSS
$custom: #7791f6; $custom-light: #a6b0f9; $custom-dark: #000000;
JSON
{
"hex": "#7791f6",
"rgb": {
"r": 119,
"g": 145,
"b": 246
},
"hsl": {
"h": 227.717,
"s": 87.586,
"l": 71.569
},
"oklch": {
"l": 0.6822,
"c": 0.15175,
"h": 271
},
"luminance": 0.30827
}Semantic roles & 50–950 ramp
primary
#7791F6
secondary
#F5EED4
accent
#B601E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85