#6054DC#6054DC
#6054DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.7% C 0.200 H 281.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6054DC |
|---|---|
| RGB | rgb(96, 84, 220) |
| HSL | hsl(245, 66%, 60%) |
| HSV | hsv(245, 62%, 86%) |
| CMYK | cmyk(56.4%, 61.8%, 0%, 13.7%) |
| CIE-LAB | lab(44.22, 42.25, -68.20) |
| CIE-LCH | lch(44.22, 80.22, 301.78°) |
| OKLab | oklab(53.67% 0.039 -0.196) |
| OKLCH | oklch(53.67% 0.2 281.3) |
| XYZ | xyz(20.9084, 13.9934, 69.2955) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 3.29
Iris
#6258C4
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 3.59
Purpleish Blue
#6140EF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6054DC #D0DC54
analogous
#548CDC #6054DC #A454DC
triadic
#6054DC #DC6054 #54DC60
tetradic
#6054DC #DC548C #D0DC54 #54DCA4
square
#6054DC #DC548C #D0DC54 #54DCA4
split-complementary
#6054DC #DCA454 #8CDC54
monochromatic
#291F97 #3729CA #6054DC #8F87E6 #BEBAF1
Accessibility & contrast
On white
5.53
#6054DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#6054DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6054DC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6054DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6054DC | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#1D7590
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6054dc; /* rgb */ color: rgb(96, 84, 220); /* oklch */ color: oklch(53.7% 0.200 281.3);
Tailwind
colors: {
custom: {
50: '#9885e8',
500: '#6054dc',
950: '#000000',
},
}SCSS
$custom: #6054dc; $custom-light: #9885e8; $custom-dark: #000000;
JSON
{
"hex": "#6054dc",
"rgb": {
"r": 96,
"g": 84,
"b": 220
},
"hsl": {
"h": 245.294,
"s": 66.019,
"l": 59.608
},
"oklch": {
"l": 0.53674,
"c": 0.1998,
"h": 281.3
},
"luminance": 0.13995
}Semantic roles & 50–950 ramp
primary
#6054DC
secondary
#DCE0AC
accent
#E93FDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84