#6251BF#6251BF
#6251BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.166 H 286.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6251BF |
|---|---|
| RGB | rgb(98, 81, 191) |
| HSL | hsl(249, 46%, 53%) |
| HSV | hsv(249, 58%, 75%) |
| CMYK | cmyk(48.7%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.60, 35.53, -55.74) |
| CIE-LCH | lch(41.60, 66.10, 302.52°) |
| OKLab | oklab(51.12% 0.0457 -0.1592) |
| OKLCH | oklch(51.12% 0.166 286) |
| XYZ | xyz(17.3806, 12.2423, 50.7273) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.28
Slate Blue
#6A5ACD
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251BF #AEBF51
analogous
#5177BF #6251BF #9951BF
triadic
#6251BF #BF6251 #51BF62
tetradic
#6251BF #BF5177 #AEBF51 #51BF99
square
#6251BF #BF5177 #AEBF51 #51BF99
split-complementary
#6251BF #BF9951 #77BF51
monochromatic
#33286D #48399A #6251BF #8A7ECF #B3AAE0
Accessibility & contrast
On white
6.09
#6251BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#6251BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251BF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251BF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#426A80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6251bf; /* rgb */ color: rgb(98, 81, 191); /* oklch */ color: oklch(51.1% 0.166 286.0);
Tailwind
colors: {
custom: {
50: '#9582d3',
500: '#6251bf',
950: '#000000',
},
}SCSS
$custom: #6251bf; $custom-light: #9582d3; $custom-dark: #000000;
JSON
{
"hex": "#6251bf",
"rgb": {
"r": 98,
"g": 81,
"b": 191
},
"hsl": {
"h": 249.273,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.51123,
"c": 0.16569,
"h": 286
},
"luminance": 0.12243
}Semantic roles & 50–950 ramp
primary
#6251BF
secondary
#C6CE9E
accent
#D652C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83