#6158BC#6158BC
#6158BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.152 H 283.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6158BC |
|---|---|
| RGB | rgb(97, 88, 188) |
| HSL | hsl(245, 43%, 54%) |
| HSV | hsv(245, 53%, 74%) |
| CMYK | cmyk(48.4%, 53.2%, 0%, 26.3%) |
| CIE-LAB | lab(42.99, 30.15, -51.75) |
| CIE-LCH | lch(42.99, 59.89, 300.23°) |
| OKLab | oklab(52.07% 0.0364 -0.1475) |
| OKLCH | oklch(52.07% 0.152 283.9) |
| XYZ | xyz(17.4939, 13.1508, 49.1838) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.25
Slate Blue
#6A5ACD
ΔE00 3.02
Light Indigo
#6D5ACF
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 3.85
Warm Blue
#4B57DB
ΔE00 5.44
Bluey Purple
#6241C7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6158BC #B3BC58
analogous
#5881BC #6158BC #9358BC
triadic
#6158BC #BC6158 #58BC61
tetradic
#6158BC #BC5881 #B3BC58 #58BC93
square
#6158BC #BC5881 #B3BC58 #58BC93
split-complementary
#6158BC #BC9358 #81BC58
monochromatic
#322C6E #463E99 #6158BC #8A84CE #B4AFDF
Accessibility & contrast
On white
5.78
#6158BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6158BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6158BC
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6158BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6158BC | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#416E81
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6158bc; /* rgb */ color: rgb(97, 88, 188); /* oklch */ color: oklch(52.1% 0.152 283.9);
Tailwind
colors: {
custom: {
50: '#9487d1',
500: '#6158bc',
950: '#000000',
},
}SCSS
$custom: #6158bc; $custom-light: #9487d1; $custom-dark: #000000;
JSON
{
"hex": "#6158bc",
"rgb": {
"r": 97,
"g": 88,
"b": 188
},
"hsl": {
"h": 245.4,
"s": 42.735,
"l": 54.118
},
"oklch": {
"l": 0.52071,
"c": 0.15194,
"h": 283.9
},
"luminance": 0.13152
}Semantic roles & 50–950 ramp
primary
#6158BC
secondary
#C9CDA3
accent
#D355C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82