#6251BB#6251BB
#6251BB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.160 H 286.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6251BB |
|---|---|
| RGB | rgb(98, 81, 187) |
| HSL | hsl(250, 44%, 53%) |
| HSV | hsv(250, 57%, 73%) |
| CMYK | cmyk(47.6%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.32, 34.33, -53.84) |
| CIE-LCH | lch(41.32, 63.85, 302.52°) |
| OKLab | oklab(50.83% 0.0458 -0.1537) |
| OKLCH | oklch(50.83% 0.16 286.6) |
| XYZ | xyz(16.9465, 12.0686, 48.4406) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251BB #AABB51
analogous
#5175BB #6251BB #9751BB
triadic
#6251BB #BB6251 #51BB62
tetradic
#6251BB #BB5175 #AABB51 #51BB97
square
#6251BB #BB5175 #AABB51 #51BB97
split-complementary
#6251BB #BB9751 #75BB51
monochromatic
#332969 #493A95 #6251BB #8A7DCC #B1A9DD
Accessibility & contrast
On white
6.15
#6251BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#6251BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251BB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251BB | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#085EB9
Tritanopia (blue-blind)
#44697E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6251bb; /* rgb */ color: rgb(98, 81, 187); /* oklch */ color: oklch(50.8% 0.160 286.6);
Tailwind
colors: {
custom: {
50: '#9582d0',
500: '#6251bb',
950: '#000000',
},
}SCSS
$custom: #6251bb; $custom-light: #9582d0; $custom-dark: #000000;
JSON
{
"hex": "#6251bb",
"rgb": {
"r": 98,
"g": 81,
"b": 187
},
"hsl": {
"h": 249.623,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50834,
"c": 0.16035,
"h": 286.6
},
"luminance": 0.12069
}Semantic roles & 50–950 ramp
primary
#6251BB
secondary
#C4CB9D
accent
#D454BF
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82