#7E98F5#7E98F5
#7E98F5 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.140 H 270.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E98F5 |
|---|---|
| RGB | rgb(126, 152, 245) |
| HSL | hsl(227, 86%, 73%) |
| HSV | hsv(227, 49%, 96%) |
| CMYK | cmyk(48.6%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(64.55, 15.60, -49.45) |
| CIE-LCH | lch(64.55, 51.86, 287.50°) |
| OKLab | oklab(70% 0.0016 -0.1397) |
| OKLCH | oklch(70% 0.14 270.6) |
| XYZ | xyz(36.3086, 33.4824, 90.9180) |
| Luminance | 0.3348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.47
Cornflowerblue
#6495ED
ΔE00 4.78
Soft Blue
#6488EA
ΔE00 5.64
Lavender Blue
#8B88F8
ΔE00 6.60
Perrywinkle
#8F8CE7
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E98F5 #F5DB7E
analogous
#7ED3F5 #7E98F5 #9F7EF5
triadic
#7E98F5 #F57E98 #98F57E
tetradic
#7E98F5 #F57ED3 #F5DB7E #7EF59F
square
#7E98F5 #F57ED3 #F5DB7E #7EF59F
split-complementary
#7E98F5 #F59F7E #D3F57E
monochromatic
#1240E7 #456BF1 #7E98F5 #B7C5F9 #E3E8FD
Accessibility & contrast
On white
2.73
#7E98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#7E98F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7E98F5
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E98F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E98F5 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#4DACBB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7e98f5; /* rgb */ color: rgb(126, 152, 245); /* oklch */ color: oklch(70.0% 0.140 270.6);
Tailwind
colors: {
custom: {
50: '#a9b6f9',
500: '#7e98f5',
950: '#000000',
},
}SCSS
$custom: #7e98f5; $custom-light: #a9b6f9; $custom-dark: #000000;
JSON
{
"hex": "#7e98f5",
"rgb": {
"r": 126,
"g": 152,
"b": 245
},
"hsl": {
"h": 226.891,
"s": 85.612,
"l": 72.745
},
"oklch": {
"l": 0.69998,
"c": 0.13972,
"h": 270.6
},
"luminance": 0.33485
}Semantic roles & 50–950 ramp
primary
#7E98F5
secondary
#F5EED6
accent
#B103E2
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085