#818AF2#818AF2
#818AF2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.153 H 277.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #818AF2 |
|---|---|
| RGB | rgb(129, 138, 242) |
| HSL | hsl(235, 81%, 73%) |
| HSV | hsv(235, 47%, 95%) |
| CMYK | cmyk(46.7%, 43%, 0%, 5.1%) |
| CIE-LAB | lab(61.00, 23.59, -53.41) |
| CIE-LCH | lch(61.00, 58.39, 293.83°) |
| OKLab | oklab(67.28% 0.0205 -0.1513) |
| OKLCH | oklch(67.28% 0.153 277.7) |
| XYZ | xyz(34.1638, 29.2531, 87.8334) |
| Luminance | 0.2925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 2.40
Perrywinkle
#8F8CE7
ΔE00 3.58
Periwinkle (survey)
#8E82FE
ΔE00 4.31
Periwinkle Blue
#8F99FB
ΔE00 4.47
Soft Blue
#6488EA
ΔE00 5.49
Cornflower
#6A79F7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818AF2 #F2E981
analogous
#81C3F2 #818AF2 #B081F2
triadic
#818AF2 #F2818A #8AF281
tetradic
#818AF2 #F281C3 #F2E981 #81F2B0
square
#818AF2 #F281C3 #F2E981 #81F2B0
split-complementary
#818AF2 #F2B081 #C3F281
monochromatic
#1727E1 #4A56EC #818AF2 #B8BEF8 #E3E5FC
Accessibility & contrast
On white
3.07
#818AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#818AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818AF2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818AF2 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#58A0B2
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #818af2; /* rgb */ color: rgb(129, 138, 242); /* oklch */ color: oklch(67.3% 0.153 277.7);
Tailwind
colors: {
custom: {
50: '#abacf7',
500: '#818af2',
950: '#000000',
},
}SCSS
$custom: #818af2; $custom-light: #abacf7; $custom-dark: #000000;
JSON
{
"hex": "#818af2",
"rgb": {
"r": 129,
"g": 138,
"b": 242
},
"hsl": {
"h": 235.221,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.67283,
"c": 0.15269,
"h": 277.7
},
"luminance": 0.29255
}Semantic roles & 50–950 ramp
primary
#818AF2
secondary
#F4F2D7
accent
#CD08DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85