#818CF3#818CF3
#818CF3 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.151 H 277.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #818CF3 |
|---|---|
| RGB | rgb(129, 140, 243) |
| HSL | hsl(234, 83%, 73%) |
| HSV | hsv(234, 47%, 95%) |
| CMYK | cmyk(46.9%, 42.4%, 0%, 4.7%) |
| CIE-LAB | lab(61.56, 22.71, -53.08) |
| CIE-LCH | lch(61.56, 57.73, 293.16°) |
| OKLab | oklab(67.72% 0.0183 -0.1503) |
| OKLCH | oklch(67.72% 0.151 277) |
| XYZ | xyz(34.6040, 29.8925, 88.7231) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 2.78
Perrywinkle
#8F8CE7
ΔE00 3.78
Periwinkle Blue
#8F99FB
ΔE00 3.96
Periwinkle (survey)
#8E82FE
ΔE00 4.78
Soft Blue
#6488EA
ΔE00 5.36
Cornflower
#6A79F7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818CF3 #F3E881
analogous
#81C5F3 #818CF3 #AF81F3
triadic
#818CF3 #F3818C #8CF381
tetradic
#818CF3 #F381C5 #F3E881 #81F3AF
square
#818CF3 #F381C5 #F3E881 #81F3AF
split-complementary
#818CF3 #F3AF81 #C5F381
monochromatic
#162AE4 #4959EE #818CF3 #B9BFF8 #E3E5FC
Accessibility & contrast
On white
3.01
#818CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#818CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818CF3
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818CF3 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#57A2B4
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #818cf3; /* rgb */ color: rgb(129, 140, 243); /* oklch */ color: oklch(67.7% 0.151 277.0);
Tailwind
colors: {
custom: {
50: '#abadf7',
500: '#818cf3',
950: '#000000',
},
}SCSS
$custom: #818cf3; $custom-light: #abadf7; $custom-dark: #000000;
JSON
{
"hex": "#818cf3",
"rgb": {
"r": 129,
"g": 140,
"b": 243
},
"hsl": {
"h": 234.211,
"s": 82.609,
"l": 72.941
},
"oklch": {
"l": 0.67724,
"c": 0.15142,
"h": 277
},
"luminance": 0.29894
}Semantic roles & 50–950 ramp
primary
#818CF3
secondary
#F4F1D7
accent
#CA06DF
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85