#6159AF#6159AF
#6159AF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.132 H 285.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6159AF |
|---|---|
| RGB | rgb(97, 89, 175) |
| HSL | hsl(246, 35%, 52%) |
| HSV | hsv(246, 49%, 69%) |
| CMYK | cmyk(44.6%, 49.1%, 0%, 31.4%) |
| CIE-LAB | lab(42.43, 25.58, -45.03) |
| CIE-LCH | lch(42.43, 51.79, 299.60°) |
| OKLab | oklab(51.39% 0.0342 -0.1278) |
| OKLCH | oklch(51.39% 0.132 285) |
| XYZ | xyz(16.2378, 12.7806, 42.1605) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.39
Dark Periwinkle
#665FD1
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 6.49
Twilight
#4E518B
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6159AF #A7AF59
analogous
#597CAF #6159AF #8C59AF
triadic
#6159AF #AF6159 #59AF61
tetradic
#6159AF #AF597C #A7AF59 #59AF8C
square
#6159AF #AF597C #A7AF59 #59AF8C
split-complementary
#6159AF #AF8C59 #7CAF59
monochromatic
#332E60 #494289 #6159AF #8882C3 #B0ACD7
Accessibility & contrast
On white
5.91
#6159AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6159AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6159AF
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6159AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6159AF | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#496B7C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6159af; /* rgb */ color: rgb(97, 89, 175); /* oklch */ color: oklch(51.4% 0.132 285.0);
Tailwind
colors: {
custom: {
50: '#9288c7',
500: '#6159af',
950: '#000000',
},
}SCSS
$custom: #6159af; $custom-light: #9288c7; $custom-dark: #000000;
JSON
{
"hex": "#6159af",
"rgb": {
"r": 97,
"g": 89,
"b": 175
},
"hsl": {
"h": 245.581,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.51392,
"c": 0.13227,
"h": 285
},
"luminance": 0.12781
}Semantic roles & 50–950 ramp
primary
#6159AF
secondary
#C1C59F
accent
#CB5DC1
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82