#7C8CFD#7C8CFD
#7C8CFD is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.166 H 275.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8CFD |
|---|---|
| RGB | rgb(124, 140, 253) |
| HSL | hsl(233, 97%, 74%) |
| HSV | hsv(233, 51%, 99%) |
| CMYK | cmyk(51%, 44.7%, 0%, 0.8%) |
| CIE-LAB | lab(61.77, 24.59, -58.27) |
| CIE-LCH | lch(61.77, 63.24, 292.88°) |
| OKLab | oklab(67.97% 0.0146 -0.1656) |
| OKLCH | oklch(67.97% 0.166 275) |
| XYZ | xyz(35.4143, 30.1309, 96.8592) |
| Luminance | 0.3013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.64
Periwinkle Blue
#8F99FB
ΔE00 4.37
Soft Blue
#6488EA
ΔE00 4.85
Periwinkle (survey)
#8E82FE
ΔE00 5.26
Perrywinkle
#8F8CE7
ΔE00 5.33
Cornflower
#6A79F7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8CFD #FDED7C
analogous
#7CCDFD #7C8CFD #AD7CFD
triadic
#7C8CFD #FD7C8C #8CFD7C
tetradic
#7C8CFD #FD7CCD #FDED7C #7CFDAD
square
#7C8CFD #FD7CCD #FDED7C #7CFDAD
split-complementary
#7C8CFD #FDAD7C #CDFD7C
monochromatic
#0422FB #4057FC #7C8CFD #B8C1FE #E1E5FF
Accessibility & contrast
On white
2.99
#7C8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#7C8CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7C8CFD
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8CFD | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#44A4B8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #7c8cfd; /* rgb */ color: rgb(124, 140, 253); /* oklch */ color: oklch(68.0% 0.166 275.0);
Tailwind
colors: {
custom: {
50: '#a9adff',
500: '#7c8cfd',
950: '#000000',
},
}SCSS
$custom: #7c8cfd; $custom-light: #a9adff; $custom-dark: #000000;
JSON
{
"hex": "#7c8cfd",
"rgb": {
"r": 124,
"g": 140,
"b": 253
},
"hsl": {
"h": 232.558,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.6797,
"c": 0.16627,
"h": 275
},
"luminance": 0.30133
}Semantic roles & 50–950 ramp
primary
#7C8CFD
secondary
#F7F3D4
accent
#C900E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86