#6058CC#6058CC
#6058CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.174 H 281.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6058CC |
|---|---|
| RGB | rgb(96, 88, 204) |
| HSL | hsl(244, 53%, 57%) |
| HSV | hsv(244, 57%, 80%) |
| CMYK | cmyk(52.9%, 56.9%, 0%, 20%) |
| CIE-LAB | lab(43.98, 34.89, -59.43) |
| CIE-LCH | lch(43.98, 68.91, 300.41°) |
| OKLab | oklab(53.13% 0.0356 -0.1701) |
| OKLCH | oklch(53.13% 0.174 281.8) |
| XYZ | xyz(19.2093, 13.8248, 58.7713) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.25
Slate Blue
#6A5ACD
ΔE00 1.84
Light Indigo
#6D5ACF
ΔE00 2.40
Dark Periwinkle
#665FD1
ΔE00 2.41
Warm Blue
#4B57DB
ΔE00 3.55
Bluey Purple
#6241C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6058CC #C4CC58
analogous
#588ACC #6058CC #9A58CC
triadic
#6058CC #CC6058 #58CC60
tetradic
#6058CC #CC588A #C4CC58 #58CC9A
square
#6058CC #CC588A #C4CC58 #58CC9A
split-complementary
#6058CC #CC9A58 #8ACC58
monochromatic
#2E2882 #3E36B1 #6058CC #8D87DA #B9B6E9
Accessibility & contrast
On white
5.58
#6058CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6058CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6058CC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6058CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6058CC | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#327389
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6058cc; /* rgb */ color: rgb(96, 88, 204); /* oklch */ color: oklch(53.1% 0.174 281.8);
Tailwind
colors: {
custom: {
50: '#9687dc',
500: '#6058cc',
950: '#000000',
},
}SCSS
$custom: #6058cc; $custom-light: #9687dc; $custom-dark: #000000;
JSON
{
"hex": "#6058cc",
"rgb": {
"r": 96,
"g": 88,
"b": 204
},
"hsl": {
"h": 244.138,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.53129,
"c": 0.17381,
"h": 281.8
},
"luminance": 0.13826
}Semantic roles & 50–950 ramp
primary
#6058CC
secondary
#D4D7A8
accent
#DD4BD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83