#7FA5E1#7FA5E1
#7FA5E1 is a light, moderate blue. Relative luminance 0.369; OKLCH L 71.8% C 0.098 H 259.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA5E1 |
|---|---|
| RGB | rgb(127, 165, 225) |
| HSL | hsl(217, 62%, 69%) |
| HSV | hsv(217, 44%, 88%) |
| CMYK | cmyk(43.6%, 26.7%, 0%, 11.8%) |
| CIE-LAB | lab(67.17, 2.58, -34.36) |
| CIE-LCH | lch(67.17, 34.46, 274.30°) |
| OKLab | oklab(71.75% -0.0181 -0.0959) |
| OKLCH | oklch(71.75% 0.098 259.3) |
| XYZ | xyz(35.7937, 36.8564, 76.4475) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 5.30
Carolina Blue
#8AB8FE
ΔE00 5.65
Periwinkle Blue
#8F99FB
ΔE00 6.90
Pastel Blue
#A2BFFE
ΔE00 7.91
Sky Blue (survey)
#75BBFD
ΔE00 8.01
Soft Blue
#6488EA
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA5E1 #E1BB7F
analogous
#7FD6E1 #7FA5E1 #8A7FE1
triadic
#7FA5E1 #E17FA5 #A5E17F
tetradic
#7FA5E1 #E17FD6 #E1BB7F #7FE18A
square
#7FA5E1 #E17FD6 #E1BB7F #7FE18A
split-complementary
#7FA5E1 #E18A7F #D6E17F
monochromatic
#2C63BA #4D82D5 #7FA5E1 #B1C8ED #E2EBF8
Accessibility & contrast
On white
2.51
#7FA5E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#7FA5E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA5E1
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA5E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA5E1 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA9E4
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#5AB2BA
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #7fa5e1; /* rgb */ color: rgb(127, 165, 225); /* oklch */ color: oklch(71.8% 0.098 259.3);
Tailwind
colors: {
custom: {
50: '#a8bfea',
500: '#7fa5e1',
950: '#000000',
},
}SCSS
$custom: #7fa5e1; $custom-light: #a8bfea; $custom-dark: #000000;
JSON
{
"hex": "#7fa5e1",
"rgb": {
"r": 127,
"g": 165,
"b": 225
},
"hsl": {
"h": 216.735,
"s": 62.025,
"l": 69.02
},
"oklch": {
"l": 0.71752,
"c": 0.09759,
"h": 259.3
},
"luminance": 0.36859
}Semantic roles & 50–950 ramp
primary
#7FA5E1
secondary
#ECE1D0
accent
#861CCA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184