#6257C8#6257C8
#6257C8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.170 H 283.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6257C8 |
|---|---|
| RGB | rgb(98, 87, 200) |
| HSL | hsl(246, 51%, 56%) |
| HSV | hsv(246, 57%, 78%) |
| CMYK | cmyk(51%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.63, 34.66, -57.68) |
| CIE-LCH | lch(43.63, 67.29, 301.00°) |
| OKLab | oklab(52.82% 0.0391 -0.165) |
| OKLCH | oklch(52.82% 0.17 283.3) |
| XYZ | xyz(18.8674, 13.5822, 56.2598) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.68
Slate Blue
#6A5ACD
ΔE00 1.76
Light Indigo
#6D5ACF
ΔE00 2.32
Dark Periwinkle
#665FD1
ΔE00 2.84
Warm Blue
#4B57DB
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257C8 #BDC857
analogous
#5785C8 #6257C8 #9B57C8
triadic
#6257C8 #C86257 #57C862
tetradic
#6257C8 #C85785 #BDC857 #57C89B
square
#6257C8 #C85785 #BDC857 #57C89B
split-complementary
#6257C8 #C89B57 #85C857
monochromatic
#31297C #4338AA #6257C8 #8D85D7 #B8B3E6
Accessibility & contrast
On white
5.65
#6257C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6257C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257C8
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257C8 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#3A7187
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6257c8; /* rgb */ color: rgb(98, 87, 200); /* oklch */ color: oklch(52.8% 0.170 283.3);
Tailwind
colors: {
custom: {
50: '#9687d9',
500: '#6257c8',
950: '#000000',
},
}SCSS
$custom: #6257c8; $custom-light: #9687d9; $custom-dark: #000000;
JSON
{
"hex": "#6257c8",
"rgb": {
"r": 98,
"g": 87,
"b": 200
},
"hsl": {
"h": 245.841,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.5282,
"c": 0.16953,
"h": 283.3
},
"luminance": 0.13583
}Semantic roles & 50–950 ramp
primary
#6257C8
secondary
#D0D5A6
accent
#DA4ECC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83