#6956E2#6956E2
#6956E2 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.204 H 283.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6956E2 |
|---|---|
| RGB | rgb(105, 86, 226) |
| HSL | hsl(248, 71%, 61%) |
| HSV | hsv(248, 62%, 89%) |
| CMYK | cmyk(53.5%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(45.84, 44.48, -68.95) |
| CIE-LCH | lch(45.84, 82.06, 302.83°) |
| OKLab | oklab(55.17% 0.0481 -0.1979) |
| OKLCH | oklch(55.17% 0.204 283.7) |
| XYZ | xyz(22.8768, 15.1485, 73.6553) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 3.55
Iris
#6258C4
ΔE00 4.44
Warm Blue
#4B57DB
ΔE00 4.66
Purpley
#8756E4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6956E2 #CFE256
analogous
#5689E2 #6956E2 #AF56E2
triadic
#6956E2 #E26956 #56E269
tetradic
#6956E2 #E25689 #CFE256 #56E2AF
square
#6956E2 #E25689 #CFE256 #56E2AF
split-complementary
#6956E2 #E2AF56 #89E256
monochromatic
#2E1CA2 #3D25D6 #6956E2 #978AEB #C6BEF4
Accessibility & contrast
On white
5.21
#6956E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#6956E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6956E2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6956E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6956E2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#347894
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6956e2; /* rgb */ color: rgb(105, 86, 226); /* oklch */ color: oklch(55.2% 0.204 283.7);
Tailwind
colors: {
custom: {
50: '#9e87ec',
500: '#6956e2',
950: '#000000',
},
}SCSS
$custom: #6956e2; $custom-light: #9e87ec; $custom-dark: #000000;
JSON
{
"hex": "#6956e2",
"rgb": {
"r": 105,
"g": 86,
"b": 226
},
"hsl": {
"h": 248.143,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.55174,
"c": 0.20364,
"h": 283.7
},
"luminance": 0.1515
}Semantic roles & 50–950 ramp
primary
#6956E2
secondary
#DDE4B0
accent
#D313B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84