#6152BF#6152BF
#6152BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.164 H 285.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6152BF |
|---|---|
| RGB | rgb(97, 82, 191) |
| HSL | hsl(248, 46%, 54%) |
| HSV | hsv(248, 57%, 75%) |
| CMYK | cmyk(49.2%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.75, 34.72, -55.50) |
| CIE-LCH | lch(41.75, 65.47, 302.03°) |
| OKLab | oklab(51.21% 0.0433 -0.1586) |
| OKLCH | oklch(51.21% 0.164 285.3) |
| XYZ | xyz(17.3482, 12.3367, 50.7472) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.97
Slate Blue
#6A5ACD
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.80
Bluey Purple
#6241C7
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152BF #B0BF52
analogous
#5279BF #6152BF #9752BF
triadic
#6152BF #BF6152 #52BF61
tetradic
#6152BF #BF5279 #B0BF52 #52BF97
square
#6152BF #BF5279 #B0BF52 #52BF97
split-complementary
#6152BF #BF9752 #79BF52
monochromatic
#32296E #47399B #6152BF #8A7FD0 #B3ABE0
Accessibility & contrast
On white
6.06
#6152BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6152BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152BF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152BF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3F6B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6152bf; /* rgb */ color: rgb(97, 82, 191); /* oklch */ color: oklch(51.2% 0.164 285.3);
Tailwind
colors: {
custom: {
50: '#9583d3',
500: '#6152bf',
950: '#000000',
},
}SCSS
$custom: #6152bf; $custom-light: #9583d3; $custom-dark: #000000;
JSON
{
"hex": "#6152bf",
"rgb": {
"r": 97,
"g": 82,
"b": 191
},
"hsl": {
"h": 248.257,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.51211,
"c": 0.16441,
"h": 285.3
},
"luminance": 0.12338
}Semantic roles & 50–950 ramp
primary
#6152BF
secondary
#C7CE9F
accent
#D652C4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83