#6E5FC2#6E5FC2
#6E5FC2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.149 H 287.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6E5FC2 |
|---|---|
| RGB | rgb(110, 95, 194) |
| HSL | hsl(249, 45%, 57%) |
| HSV | hsv(249, 51%, 76%) |
| CMYK | cmyk(43.3%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(46.17, 30.70, -50.07) |
| CIE-LCH | lch(46.17, 58.73, 301.51°) |
| OKLab | oklab(54.84% 0.0445 -0.1422) |
| OKLCH | oklch(54.84% 0.149 287.4) |
| XYZ | xyz(20.2575, 15.3937, 52.9324) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.47
Light Indigo
#6D5ACF
ΔE00 2.59
Dark Periwinkle
#665FD1
ΔE00 2.93
Iris
#6258C4
ΔE00 3.05
Warm Blue
#4B57DB
ΔE00 6.90
Royal Purple
#7851A9
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E5FC2 #B3C25F
analogous
#5F82C2 #6E5FC2 #A05FC2
triadic
#6E5FC2 #C26E5F #5FC26E
tetradic
#6E5FC2 #C25F82 #B3C25F #5FC2A0
square
#6E5FC2 #C25F82 #B3C25F #5FC2A0
split-complementary
#6E5FC2 #C2A05F #82C25F
monochromatic
#392E79 #4E3FA5 #6E5FC2 #968BD3 #BEB8E4
Accessibility & contrast
On white
5.15
#6E5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#6E5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E5FC2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E5FC2 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3370C5
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#557487
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6e5fc2; /* rgb */ color: rgb(110, 95, 194); /* oklch */ color: oklch(54.8% 0.149 287.4);
Tailwind
colors: {
custom: {
50: '#9c8cd5',
500: '#6e5fc2',
950: '#000000',
},
}SCSS
$custom: #6e5fc2; $custom-light: #9c8cd5; $custom-dark: #000000;
JSON
{
"hex": "#6e5fc2",
"rgb": {
"r": 110,
"g": 95,
"b": 194
},
"hsl": {
"h": 249.091,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.54836,
"c": 0.14901,
"h": 287.4
},
"luminance": 0.15394
}Semantic roles & 50–950 ramp
primary
#6E5FC2
secondary
#CDD3AA
accent
#D453C1
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0C14
muted
#7E7D83