#6159AE#6159AE
#6159AE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.131 H 285.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6159AE |
|---|---|
| RGB | rgb(97, 89, 174) |
| HSL | hsl(246, 34%, 52%) |
| HSV | hsv(246, 49%, 68%) |
| CMYK | cmyk(44.3%, 48.9%, 0%, 31.8%) |
| CIE-LAB | lab(42.37, 25.28, -44.54) |
| CIE-LCH | lch(42.37, 51.21, 299.58°) |
| OKLab | oklab(51.33% 0.034 -0.1263) |
| OKLCH | oklch(51.33% 0.131 285.1) |
| XYZ | xyz(16.1399, 12.7415, 41.6451) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.55
Dark Periwinkle
#665FD1
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 6.46
Twilight
#4E518B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6159AE #A6AE59
analogous
#597CAE #6159AE #8C59AE
triadic
#6159AE #AE6159 #59AE61
tetradic
#6159AE #AE597C #A6AE59 #59AE8C
square
#6159AE #AE597C #A6AE59 #59AE8C
split-complementary
#6159AE #AE8C59 #7CAE59
monochromatic
#332E5E #494288 #6159AE #8882C2 #AFABD6
Accessibility & contrast
On white
5.92
#6159AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6159AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6159AE
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6159AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6159AE | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3666B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#496B7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6159ae; /* rgb */ color: rgb(97, 89, 174); /* oklch */ color: oklch(51.3% 0.131 285.1);
Tailwind
colors: {
custom: {
50: '#9288c7',
500: '#6159ae',
950: '#000000',
},
}SCSS
$custom: #6159ae; $custom-light: #9288c7; $custom-dark: #000000;
JSON
{
"hex": "#6159ae",
"rgb": {
"r": 97,
"g": 89,
"b": 174
},
"hsl": {
"h": 245.647,
"s": 34.413,
"l": 51.569
},
"oklch": {
"l": 0.51328,
"c": 0.13084,
"h": 285.1
},
"luminance": 0.12742
}Semantic roles & 50–950 ramp
primary
#6159AE
secondary
#C1C49F
accent
#CA5DC0
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82