#6154CA#6154CA
#6154CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.176 H 283.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6154CA |
|---|---|
| RGB | rgb(97, 84, 202) |
| HSL | hsl(247, 53%, 56%) |
| HSV | hsv(247, 58%, 79%) |
| CMYK | cmyk(52%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.98, 36.87, -59.89) |
| CIE-LCH | lch(42.98, 70.33, 301.62°) |
| OKLab | oklab(52.37% 0.0411 -0.1715) |
| OKLCH | oklch(52.37% 0.176 283.5) |
| XYZ | xyz(18.7575, 13.1453, 57.4146) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.52
Slate Blue
#6A5ACD
ΔE00 2.30
Light Indigo
#6D5ACF
ΔE00 2.73
Dark Periwinkle
#665FD1
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6154CA #BDCA54
analogous
#5482CA #6154CA #9C54CA
triadic
#6154CA #CA6154 #54CA61
tetradic
#6154CA #CA5482 #BDCA54 #54CA9C
square
#6154CA #CA5482 #BDCA54 #54CA9C
split-complementary
#6154CA #CA9C54 #82CA54
monochromatic
#30277D #4235AC #6154CA #8C83D8 #B7B1E7
Accessibility & contrast
On white
5.79
#6154CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6154CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6154CA
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6154CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6154CA | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#376F87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6154ca; /* rgb */ color: rgb(97, 84, 202); /* oklch */ color: oklch(52.4% 0.176 283.5);
Tailwind
colors: {
custom: {
50: '#9684db',
500: '#6154ca',
950: '#000000',
},
}SCSS
$custom: #6154ca; $custom-light: #9684db; $custom-dark: #000000;
JSON
{
"hex": "#6154ca",
"rgb": {
"r": 97,
"g": 84,
"b": 202
},
"hsl": {
"h": 246.61,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.52366,
"c": 0.17633,
"h": 283.5
},
"luminance": 0.13146
}Semantic roles & 50–950 ramp
primary
#6154CA
secondary
#D0D5A5
accent
#DC4CCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83