#6A58CD#6A58CD
#6A58CD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.174 H 286.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6A58CD |
|---|---|
| RGB | rgb(106, 88, 205) |
| HSL | hsl(249, 54%, 57%) |
| HSV | hsv(249, 57%, 80%) |
| CMYK | cmyk(48.3%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(44.87, 37.23, -58.52) |
| CIE-LCH | lch(44.87, 69.36, 302.46°) |
| OKLab | oklab(54.01% 0.0481 -0.1672) |
| OKLCH | oklch(54.01% 0.174 286.1) |
| XYZ | xyz(20.4498, 14.4505, 59.4575) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.61
Light Indigo
#6D5ACF
ΔE00 0.82
Iris
#6258C4
ΔE00 1.96
Dark Periwinkle
#665FD1
ΔE00 2.50
Warm Blue
#4B57DB
ΔE00 5.09
Purpley
#8756E4
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A58CD #BBCD58
analogous
#5880CD #6A58CD #A558CD
triadic
#6A58CD #CD6A58 #58CD6A
tetradic
#6A58CD #CD5880 #BBCD58 #58CDA5
square
#6A58CD #CD5880 #BBCD58 #58CDA5
split-complementary
#6A58CD #CDA558 #80CD58
monochromatic
#352783 #4935B2 #6A58CD #9487DB #BEB6E9
Accessibility & contrast
On white
5.40
#6A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6A58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A58CD
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A58CD | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#48728A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a58cd; /* rgb */ color: rgb(106, 88, 205); /* oklch */ color: oklch(54.0% 0.174 286.1);
Tailwind
colors: {
custom: {
50: '#9b88dd',
500: '#6a58cd',
950: '#000000',
},
}SCSS
$custom: #6a58cd; $custom-light: #9b88dd; $custom-dark: #000000;
JSON
{
"hex": "#6a58cd",
"rgb": {
"r": 106,
"g": 88,
"b": 205
},
"hsl": {
"h": 249.231,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.54014,
"c": 0.17396,
"h": 286.1
},
"luminance": 0.14451
}Semantic roles & 50–950 ramp
primary
#6A58CD
secondary
#D1D8A9
accent
#DD4BC7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83