#6252BC#6252BC
#6252BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.160 H 286.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6252BC |
|---|---|
| RGB | rgb(98, 82, 188) |
| HSL | hsl(249, 44%, 53%) |
| HSV | hsv(249, 56%, 74%) |
| CMYK | cmyk(47.9%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(41.63, 34.02, -53.94) |
| CIE-LCH | lch(41.63, 63.77, 302.24°) |
| OKLab | oklab(51.08% 0.0446 -0.154) |
| OKLCH | oklch(51.08% 0.16 286.2) |
| XYZ | xyz(17.1287, 12.2613, 49.0313) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.22
Slate Blue
#6A5ACD
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 4.02
Bluey Purple
#6241C7
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6252BC #ACBC52
analogous
#5277BC #6252BC #9752BC
triadic
#6252BC #BC6252 #52BC62
tetradic
#6252BC #BC5277 #ACBC52 #52BC97
square
#6252BC #BC5277 #ACBC52 #52BC97
split-complementary
#6252BC #BC9752 #77BC52
monochromatic
#33296A #483A97 #6252BC #8A7ECD #B2AADE
Accessibility & contrast
On white
6.08
#6252BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#6252BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6252BC
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6252BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6252BC | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#095FBA
Tritanopia (blue-blind)
#446A7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6252bc; /* rgb */ color: rgb(98, 82, 188); /* oklch */ color: oklch(51.1% 0.160 286.2);
Tailwind
colors: {
custom: {
50: '#9583d1',
500: '#6252bc',
950: '#000000',
},
}SCSS
$custom: #6252bc; $custom-light: #9583d1; $custom-dark: #000000;
JSON
{
"hex": "#6252bc",
"rgb": {
"r": 98,
"g": 82,
"b": 188
},
"hsl": {
"h": 249.057,
"s": 44.167,
"l": 52.941
},
"oklch": {
"l": 0.5108,
"c": 0.16029,
"h": 286.2
},
"luminance": 0.12262
}Semantic roles & 50–950 ramp
primary
#6252BC
secondary
#C5CC9E
accent
#D454C1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82