#7A98EA#7A98EA
#7A98EA is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.126 H 267.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7A98EA |
|---|---|
| RGB | rgb(122, 152, 234) |
| HSL | hsl(224, 73%, 70%) |
| HSV | hsv(224, 48%, 92%) |
| CMYK | cmyk(47.9%, 35%, 0%, 8.2%) |
| CIE-LAB | lab(63.78, 11.41, -44.64) |
| CIE-LCH | lch(63.78, 46.07, 284.33°) |
| OKLab | oklab(69.17% -0.0048 -0.1257) |
| OKLCH | oklch(69.17% 0.126 267.8) |
| XYZ | xyz(34.1008, 32.5324, 82.3084) |
| Luminance | 0.3253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 3.81
Periwinkle Blue
#8F99FB
ΔE00 4.70
Soft Blue
#6488EA
ΔE00 5.17
Faded Blue
#658CBB
ΔE00 7.14
Perrywinkle
#8F8CE7
ΔE00 7.34
Lavender Blue
#8B88F8
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A98EA #EACC7A
analogous
#7AD0EA #7A98EA #947AEA
triadic
#7A98EA #EA7A98 #98EA7A
tetradic
#7A98EA #EA7AD0 #EACC7A #7AEA94
square
#7A98EA #EA7AD0 #EACC7A #7AEA94
split-complementary
#7A98EA #EA947A #D0EA7A
monochromatic
#204DCA #456FE2 #7A98EA #AFC1F2 #E4EAFB
Accessibility & contrast
On white
2.80
#7A98EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#7A98EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7A98EA
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A98EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A98EA | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#4CA9B6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #7a98ea; /* rgb */ color: rgb(122, 152, 234); /* oklch */ color: oklch(69.2% 0.126 267.8);
Tailwind
colors: {
custom: {
50: '#a6b6f1',
500: '#7a98ea',
950: '#000000',
},
}SCSS
$custom: #7a98ea; $custom-light: #a6b6f1; $custom-dark: #000000;
JSON
{
"hex": "#7a98ea",
"rgb": {
"r": 122,
"g": 152,
"b": 234
},
"hsl": {
"h": 223.929,
"s": 72.727,
"l": 69.804
},
"oklch": {
"l": 0.69169,
"c": 0.12584,
"h": 267.8
},
"luminance": 0.32535
}Semantic roles & 50–950 ramp
primary
#7A98EA
secondary
#F0E7D0
accent
#A011D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085