#6054CA#6054CA
#6054CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.176 H 283.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6054CA |
|---|---|
| RGB | rgb(96, 84, 202) |
| HSL | hsl(246, 53%, 56%) |
| HSV | hsv(246, 58%, 79%) |
| CMYK | cmyk(52.5%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.90, 36.68, -60.02) |
| CIE-LCH | lch(42.90, 70.34, 301.43°) |
| OKLab | oklab(52.29% 0.0398 -0.1719) |
| OKLCH | oklch(52.29% 0.176 283) |
| XYZ | xyz(18.6516, 13.0907, 57.4096) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.53
Slate Blue
#6A5ACD
ΔE00 2.41
Light Indigo
#6D5ACF
ΔE00 2.86
Dark Periwinkle
#665FD1
ΔE00 3.58
Warm Blue
#4B57DB
ΔE00 4.00
Bluey Purple
#6241C7
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6054CA #BECA54
analogous
#5483CA #6054CA #9B54CA
triadic
#6054CA #CA6054 #54CA60
tetradic
#6054CA #CA5483 #BECA54 #54CA9B
square
#6054CA #CA5483 #BECA54 #54CA9B
split-complementary
#6054CA #CA9B54 #83CA54
monochromatic
#2F277D #4135AC #6054CA #8B83D8 #B7B1E7
Accessibility & contrast
On white
5.80
#6054CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6054CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6054CA
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6054CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6054CA | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#347087
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6054ca; /* rgb */ color: rgb(96, 84, 202); /* oklch */ color: oklch(52.3% 0.176 283.0);
Tailwind
colors: {
custom: {
50: '#9584db',
500: '#6054ca',
950: '#000000',
},
}SCSS
$custom: #6054ca; $custom-light: #9584db; $custom-dark: #000000;
JSON
{
"hex": "#6054ca",
"rgb": {
"r": 96,
"g": 84,
"b": 202
},
"hsl": {
"h": 246.102,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.52285,
"c": 0.17646,
"h": 283
},
"luminance": 0.13092
}Semantic roles & 50–950 ramp
primary
#6054CA
secondary
#D0D5A5
accent
#DC4CCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83