#B2B2FF#B2B2FF
#B2B2FF is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.2% C 0.109 H 283.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B2FF |
|---|---|
| RGB | rgb(178, 178, 255) |
| HSL | hsl(240, 100%, 85%) |
| HSV | hsv(240, 30%, 100%) |
| CMYK | cmyk(30.2%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(75.15, 16.88, -38.02) |
| CIE-LCH | lch(75.15, 41.60, 293.95°) |
| OKLab | oklab(79.22% 0.0256 -0.1056) |
| OKLCH | oklch(79.22% 0.109 283.6) |
| XYZ | xyz(52.3257, 48.5244, 101.1976) |
| Luminance | 0.4853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.91
Pastel Blue
#A2BFFE
ΔE00 7.01
Pale Violet
#CEAEFA
ΔE00 7.86
Periwinkle
#CCCCFF
ΔE00 7.98
Periwinkle Blue
#8F99FB
ΔE00 8.26
Lavender
#B39DDB
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B2FF #FFFFB2
analogous
#B2D9FF #B2B2FF #D9B2FF
triadic
#B2B2FF #FFB2B2 #B2FFB2
tetradic
#B2B2FF #FFB2D9 #FFFFB2 #B2FFD9
square
#B2B2FF #FFB2D9 #FFFFB2 #B2FFD9
split-complementary
#B2B2FF #FFD9B2 #D9FFB2
monochromatic
#3838FF #7575FF #B2B2FF #E0E0FF #E0E0FF
Accessibility & contrast
On white
1.96
#B2B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#B2B2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B2FF
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B2FF | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CBCFF
Deuteranopia (green-blind)
#99B7FD
Tritanopia (blue-blind)
#9FC0CD
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b2b2ff; /* rgb */ color: rgb(178, 178, 255); /* oklch */ color: oklch(79.2% 0.109 283.6);
Tailwind
colors: {
custom: {
50: '#cbc9ff',
500: '#b2b2ff',
950: '#000000',
},
}SCSS
$custom: #b2b2ff; $custom-light: #cbc9ff; $custom-dark: #000000;
JSON
{
"hex": "#b2b2ff",
"rgb": {
"r": 178,
"g": 178,
"b": 255
},
"hsl": {
"h": 240,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.79219,
"c": 0.10866,
"h": 283.6
},
"luminance": 0.48526
}Semantic roles & 50–950 ramp
primary
#B2B2FF
secondary
#F7F7D4
accent
#E600E5
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131318
muted
#828286