#6958E5#6958E5
#6958E5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.205 H 283.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6958E5 |
|---|---|
| RGB | rgb(105, 88, 229) |
| HSL | hsl(247, 73%, 62%) |
| HSV | hsv(247, 62%, 90%) |
| CMYK | cmyk(54.1%, 61.6%, 0%, 10.2%) |
| CIE-LAB | lab(46.50, 44.23, -69.58) |
| CIE-LCH | lch(46.50, 82.45, 302.45°) |
| OKLab | oklab(55.73% 0.046 -0.1997) |
| OKLCH | oklch(55.73% 0.205 283) |
| XYZ | xyz(23.4539, 15.6385, 75.8962) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.14
Slate Blue
#6A5ACD
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.44
Warm Blue
#4B57DB
ΔE00 4.74
Iris
#6258C4
ΔE00 4.82
Purpley
#8756E4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6958E5 #D4E558
analogous
#588EE5 #6958E5 #B058E5
triadic
#6958E5 #E56958 #58E569
tetradic
#6958E5 #E5588E #D4E558 #58E5B0
square
#6958E5 #E5588E #D4E558 #58E5B0
split-complementary
#6958E5 #E5B058 #8EE558
monochromatic
#2B1AA8 #3923DD #6958E5 #998DED #C8C2F5
Accessibility & contrast
On white
5.09
#6958E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#6958E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6958E5
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6958E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6958E5 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#307A96
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6958e5; /* rgb */ color: rgb(105, 88, 229); /* oklch */ color: oklch(55.7% 0.205 283.0);
Tailwind
colors: {
custom: {
50: '#9e88ee',
500: '#6958e5',
950: '#000000',
},
}SCSS
$custom: #6958e5; $custom-light: #9e88ee; $custom-dark: #000000;
JSON
{
"hex": "#6958e5",
"rgb": {
"r": 105,
"g": 88,
"b": 229
},
"hsl": {
"h": 247.234,
"s": 73.057,
"l": 62.157
},
"oklch": {
"l": 0.55725,
"c": 0.20495,
"h": 283
},
"luminance": 0.1564
}Semantic roles & 50–950 ramp
primary
#6958E5
secondary
#E0E6B3
accent
#D510BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84