#6152BB#6152BB
#6152BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.159 H 285.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6152BB |
|---|---|
| RGB | rgb(97, 82, 187) |
| HSL | hsl(249, 44%, 53%) |
| HSV | hsv(249, 56%, 73%) |
| CMYK | cmyk(48.1%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.47, 33.50, -53.61) |
| CIE-LCH | lch(41.47, 63.22, 302.01°) |
| OKLab | oklab(50.92% 0.0433 -0.153) |
| OKLCH | oklch(50.92% 0.159 285.8) |
| XYZ | xyz(16.9141, 12.1631, 48.4606) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.27
Slate Blue
#6A5ACD
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152BB #ACBB52
analogous
#5278BB #6152BB #9552BB
triadic
#6152BB #BB6152 #52BB61
tetradic
#6152BB #BB5278 #ACBB52 #52BB95
square
#6152BB #BB5278 #ACBB52 #52BB95
split-complementary
#6152BB #BB9552 #78BB52
monochromatic
#322969 #483B95 #6152BB #897ECC #B1AADE
Accessibility & contrast
On white
6.12
#6152BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6152BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152BB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152BB | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#42697E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6152bb; /* rgb */ color: rgb(97, 82, 187); /* oklch */ color: oklch(50.9% 0.159 285.8);
Tailwind
colors: {
custom: {
50: '#9483d0',
500: '#6152bb',
950: '#000000',
},
}SCSS
$custom: #6152bb; $custom-light: #9483d0; $custom-dark: #000000;
JSON
{
"hex": "#6152bb",
"rgb": {
"r": 97,
"g": 82,
"b": 187
},
"hsl": {
"h": 248.571,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50923,
"c": 0.15903,
"h": 285.8
},
"luminance": 0.12164
}Semantic roles & 50–950 ramp
primary
#6152BB
secondary
#C5CB9E
accent
#D354C1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82