#8A9EF0#8A9EF0
#8A9EF0 is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.7% C 0.122 H 272.6°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9EF0 |
|---|---|
| RGB | rgb(138, 158, 240) |
| HSL | hsl(228, 77%, 74%) |
| HSV | hsv(228, 43%, 94%) |
| CMYK | cmyk(42.5%, 34.2%, 0%, 5.9%) |
| CIE-LAB | lab(66.63, 13.56, -43.38) |
| CIE-LCH | lch(66.63, 45.45, 287.36°) |
| OKLab | oklab(71.72% 0.0055 -0.1218) |
| OKLCH | oklch(71.72% 0.122 272.6) |
| XYZ | xyz(38.4314, 36.1463, 87.3731) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 2.69
Perrywinkle
#8F8CE7
ΔE00 6.45
Cornflowerblue
#6495ED
ΔE00 6.80
Lavender Blue
#8B88F8
ΔE00 7.15
Soft Blue
#6488EA
ΔE00 7.91
Carolina Blue
#8AB8FE
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9EF0 #F0DC8A
analogous
#8AD1F0 #8A9EF0 #A98AF0
triadic
#8A9EF0 #F08A9E #9EF08A
tetradic
#8A9EF0 #F08AD1 #F0DC8A #8AF0A9
square
#8A9EF0 #F08AD1 #F0DC8A #8AF0A9
split-complementary
#8A9EF0 #F0A98A #D1F08A
monochromatic
#1E44E2 #5471E9 #8A9EF0 #C0CBF7 #E4E9FC
Accessibility & contrast
On white
2.55
#8A9EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#8A9EF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9EF0
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9EF0 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A7F3
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#68AFBC
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #8a9ef0; /* rgb */ color: rgb(138, 158, 240); /* oklch */ color: oklch(71.7% 0.122 272.6);
Tailwind
colors: {
custom: {
50: '#b0baf5',
500: '#8a9ef0',
950: '#000000',
},
}SCSS
$custom: #8a9ef0; $custom-light: #b0baf5; $custom-dark: #000000;
JSON
{
"hex": "#8a9ef0",
"rgb": {
"r": 138,
"g": 158,
"b": 240
},
"hsl": {
"h": 228.235,
"s": 77.273,
"l": 74.118
},
"oklch": {
"l": 0.71723,
"c": 0.12191,
"h": 272.6
},
"luminance": 0.36148
}Semantic roles & 50–950 ramp
primary
#8A9EF0
secondary
#F3EED8
accent
#B10CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085