#6158BF#6158BF
#6158BF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.156 H 283.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6158BF |
|---|---|
| RGB | rgb(97, 88, 191) |
| HSL | hsl(245, 45%, 55%) |
| HSV | hsv(245, 54%, 75%) |
| CMYK | cmyk(49.2%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(43.18, 31.07, -53.18) |
| CIE-LCH | lch(43.18, 61.59, 300.29°) |
| OKLab | oklab(52.28% 0.0365 -0.1517) |
| OKLCH | oklch(52.28% 0.156 283.5) |
| XYZ | xyz(17.8206, 13.2815, 50.9047) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.78
Slate Blue
#6A5ACD
ΔE00 2.65
Light Indigo
#6D5ACF
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6158BF #B6BF58
analogous
#5882BF #6158BF #9558BF
triadic
#6158BF #BF6158 #58BF61
tetradic
#6158BF #BF5882 #B6BF58 #58BF95
square
#6158BF #BF5882 #B6BF58 #58BF95
split-complementary
#6158BF #BF9558 #82BF58
monochromatic
#312B71 #453C9D #6158BF #8B84D0 #B5B0E1
Accessibility & contrast
On white
5.74
#6158BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6158BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6158BF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6158BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6158BF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#3F6F83
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6158bf; /* rgb */ color: rgb(97, 88, 191); /* oklch */ color: oklch(52.3% 0.156 283.5);
Tailwind
colors: {
custom: {
50: '#9487d3',
500: '#6158bf',
950: '#000000',
},
}SCSS
$custom: #6158bf; $custom-light: #9487d3; $custom-dark: #000000;
JSON
{
"hex": "#6158bf",
"rgb": {
"r": 97,
"g": 88,
"b": 191
},
"hsl": {
"h": 245.243,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.52278,
"c": 0.15608,
"h": 283.5
},
"luminance": 0.13282
}Semantic roles & 50–950 ramp
primary
#6158BF
secondary
#CBCFA4
accent
#D454C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83