#6252BB#6252BB
#6252BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.159 H 286.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6252BB |
|---|---|
| RGB | rgb(98, 82, 187) |
| HSL | hsl(249, 44%, 53%) |
| HSV | hsv(249, 56%, 73%) |
| CMYK | cmyk(47.6%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.56, 33.72, -53.46) |
| CIE-LCH | lch(41.56, 63.21, 302.24°) |
| OKLab | oklab(51.01% 0.0446 -0.1526) |
| OKLCH | oklch(51.01% 0.159 286.3) |
| XYZ | xyz(17.0213, 12.2184, 48.4656) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6252BB #ABBB52
analogous
#5276BB #6252BB #9652BB
triadic
#6252BB #BB6252 #52BB62
tetradic
#6252BB #BB5276 #ABBB52 #52BB96
square
#6252BB #BB5276 #ABBB52 #52BB96
split-complementary
#6252BB #BB9652 #76BB52
monochromatic
#332969 #483B95 #6252BB #8A7ECC #B2AADE
Accessibility & contrast
On white
6.10
#6252BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#6252BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6252BB
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6252BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6252BB | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1165BF
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#44697E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6252bb; /* rgb */ color: rgb(98, 82, 187); /* oklch */ color: oklch(51.0% 0.159 286.3);
Tailwind
colors: {
custom: {
50: '#9583d0',
500: '#6252bb',
950: '#000000',
},
}SCSS
$custom: #6252bb; $custom-light: #9583d0; $custom-dark: #000000;
JSON
{
"hex": "#6252bb",
"rgb": {
"r": 98,
"g": 82,
"b": 187
},
"hsl": {
"h": 249.143,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.51008,
"c": 0.15894,
"h": 286.3
},
"luminance": 0.12219
}Semantic roles & 50–950 ramp
primary
#6252BB
secondary
#C4CB9E
accent
#D354C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82