#6054CD#6054CD
#6054CD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.180 H 282.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6054CD |
|---|---|
| RGB | rgb(96, 84, 205) |
| HSL | hsl(246, 55%, 57%) |
| HSV | hsv(246, 59%, 80%) |
| CMYK | cmyk(53.2%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(43.11, 37.61, -61.41) |
| CIE-LCH | lch(43.11, 72.01, 301.48°) |
| OKLab | oklab(52.51% 0.0397 -0.176) |
| OKLCH | oklch(52.51% 0.18 282.7) |
| XYZ | xyz(19.0103, 13.2341, 59.2985) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.81
Slate Blue
#6A5ACD
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 3.47
Warm Blue
#4B57DB
ΔE00 3.77
Bluey Purple
#6241C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6054CD #C1CD54
analogous
#5485CD #6054CD #9C54CD
triadic
#6054CD #CD6054 #54CD60
tetradic
#6054CD #CD5485 #C1CD54 #54CD9C
square
#6054CD #CD5485 #C1CD54 #54CD9C
split-complementary
#6054CD #CD9C54 #85CD54
monochromatic
#2F2681 #4034B0 #6054CD #8C83DB #B8B3E9
Accessibility & contrast
On white
5.76
#6054CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#6054CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6054CD
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6054CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6054CD | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#317088
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6054cd; /* rgb */ color: rgb(96, 84, 205); /* oklch */ color: oklch(52.5% 0.180 282.7);
Tailwind
colors: {
custom: {
50: '#9684dd',
500: '#6054cd',
950: '#000000',
},
}SCSS
$custom: #6054cd; $custom-light: #9684dd; $custom-dark: #000000;
JSON
{
"hex": "#6054cd",
"rgb": {
"r": 96,
"g": 84,
"b": 205
},
"hsl": {
"h": 245.95,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.52511,
"c": 0.18041,
"h": 282.7
},
"luminance": 0.13235
}Semantic roles & 50–950 ramp
primary
#6054CD
secondary
#D2D7A6
accent
#DE4ACF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83