#7FA1F2#7FA1F2
#7FA1F2 is a light, vivid blue. Relative luminance 0.364; OKLCH L 71.7% C 0.125 H 266.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA1F2 |
|---|---|
| RGB | rgb(127, 161, 242) |
| HSL | hsl(222, 82%, 72%) |
| HSV | hsv(222, 48%, 95%) |
| CMYK | cmyk(47.5%, 33.5%, 0%, 5.1%) |
| CIE-LAB | lab(66.83, 9.75, -44.21) |
| CIE-LCH | lch(66.83, 45.27, 282.43°) |
| OKLab | oklab(71.73% -0.0086 -0.1244) |
| OKLCH | oklch(71.73% 0.125 266) |
| XYZ | xyz(37.5191, 36.4102, 89.0380) |
| Luminance | 0.3641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 4.79
Periwinkle Blue
#8F99FB
ΔE00 5.24
Carolina Blue
#8AB8FE
ΔE00 6.41
Soft Blue
#6488EA
ΔE00 7.55
Pastel Blue
#A2BFFE
ΔE00 8.28
Faded Blue
#658CBB
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA1F2 #F2D07F
analogous
#7FDAF2 #7FA1F2 #977FF2
triadic
#7FA1F2 #F27FA1 #A1F27F
tetradic
#7FA1F2 #F27FDA #F2D07F #7FF297
square
#7FA1F2 #F27FDA #F2D07F #7FF297
split-complementary
#7FA1F2 #F2977F #DAF27F
monochromatic
#1752E0 #4778EC #7FA1F2 #B7CAF8 #E3EBFC
Accessibility & contrast
On white
2.54
#7FA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#7FA1F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA1F2
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA1F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA1F2 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#50B2BE
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #7fa1f2; /* rgb */ color: rgb(127, 161, 242); /* oklch */ color: oklch(71.7% 0.125 266.0);
Tailwind
colors: {
custom: {
50: '#a9bcf6',
500: '#7fa1f2',
950: '#000000',
},
}SCSS
$custom: #7fa1f2; $custom-light: #a9bcf6; $custom-dark: #000000;
JSON
{
"hex": "#7fa1f2",
"rgb": {
"r": 127,
"g": 161,
"b": 242
},
"hsl": {
"h": 222.261,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.71732,
"c": 0.12468,
"h": 266
},
"luminance": 0.36413
}Semantic roles & 50–950 ramp
primary
#7FA1F2
secondary
#F4EBD7
accent
#9F08DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101217
muted
#7F8185