#6251CE#6251CE
#6251CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.185 H 284.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6251CE |
|---|---|
| RGB | rgb(98, 81, 206) |
| HSL | hsl(248, 56%, 56%) |
| HSV | hsv(248, 61%, 81%) |
| CMYK | cmyk(52.4%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(42.67, 40.07, -62.70) |
| CIE-LCH | lch(42.67, 74.41, 302.58°) |
| OKLab | oklab(52.25% 0.0453 -0.1797) |
| OKLCH | oklch(52.25% 0.185 284.1) |
| XYZ | xyz(19.1166, 12.9367, 59.8703) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.12
Dark Periwinkle
#665FD1
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.39
Bluey Purple
#6241C7
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251CE #BDCE51
analogous
#517FCE #6251CE #A151CE
triadic
#6251CE #CE6251 #51CE62
tetradic
#6251CE #CE517F #BDCE51 #51CEA1
square
#6251CE #CE517F #BDCE51 #51CEA1
split-complementary
#6251CE #CEA151 #7FCE51
monochromatic
#312480 #4332B0 #6251CE #8D81DB #B8B1E9
Accessibility & contrast
On white
5.85
#6251CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6251CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251CE
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251CE | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#366F88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6251ce; /* rgb */ color: rgb(98, 81, 206); /* oklch */ color: oklch(52.2% 0.185 284.1);
Tailwind
colors: {
custom: {
50: '#9782de',
500: '#6251ce',
950: '#000000',
},
}SCSS
$custom: #6251ce; $custom-light: #9782de; $custom-dark: #000000;
JSON
{
"hex": "#6251ce",
"rgb": {
"r": 98,
"g": 81,
"b": 206
},
"hsl": {
"h": 248.16,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.52247,
"c": 0.18535,
"h": 284.1
},
"luminance": 0.12938
}Semantic roles & 50–950 ramp
primary
#6251CE
secondary
#D0D7A4
accent
#DF48CB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83