#6257C7#6257C7
#6257C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.168 H 283.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6257C7 |
|---|---|
| RGB | rgb(98, 87, 199) |
| HSL | hsl(246, 50%, 56%) |
| HSV | hsv(246, 56%, 78%) |
| CMYK | cmyk(50.8%, 56.3%, 0%, 22%) |
| CIE-LAB | lab(43.56, 34.35, -57.21) |
| CIE-LCH | lch(43.56, 66.73, 300.98°) |
| OKLab | oklab(52.75% 0.0391 -0.1636) |
| OKLCH | oklch(52.75% 0.168 283.4) |
| XYZ | xyz(18.7509, 13.5356, 55.6464) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.56
Slate Blue
#6A5ACD
ΔE00 1.82
Light Indigo
#6D5ACF
ΔE00 2.38
Dark Periwinkle
#665FD1
ΔE00 2.91
Warm Blue
#4B57DB
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257C7 #BCC757
analogous
#5784C7 #6257C7 #9A57C7
triadic
#6257C7 #C76257 #57C762
tetradic
#6257C7 #C75784 #BCC757 #57C79A
square
#6257C7 #C75784 #BCC757 #57C79A
split-complementary
#6257C7 #C79A57 #84C757
monochromatic
#31297B #4338A9 #6257C7 #8D85D6 #B8B3E6
Accessibility & contrast
On white
5.66
#6257C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6257C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257C7
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257C7 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066BCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#3B7086
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6257c7; /* rgb */ color: rgb(98, 87, 199); /* oklch */ color: oklch(52.7% 0.168 283.4);
Tailwind
colors: {
custom: {
50: '#9687d9',
500: '#6257c7',
950: '#000000',
},
}SCSS
$custom: #6257c7; $custom-light: #9687d9; $custom-dark: #000000;
JSON
{
"hex": "#6257c7",
"rgb": {
"r": 98,
"g": 87,
"b": 199
},
"hsl": {
"h": 245.893,
"s": 50,
"l": 56.078
},
"oklch": {
"l": 0.52747,
"c": 0.16818,
"h": 283.4
},
"luminance": 0.13537
}Semantic roles & 50–950 ramp
primary
#6257C7
secondary
#CFD4A6
accent
#DA4ECC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83