#6257CF#6257CF
#6257CF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.179 H 282.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #6257CF |
|---|---|
| RGB | rgb(98, 87, 207) |
| HSL | hsl(246, 56%, 58%) |
| HSV | hsv(246, 58%, 81%) |
| CMYK | cmyk(52.7%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(44.11, 36.81, -60.93) |
| CIE-LCH | lch(44.11, 71.19, 301.14°) |
| OKLab | oklab(53.33% 0.0391 -0.1745) |
| OKLCH | oklch(53.33% 0.179 282.6) |
| XYZ | xyz(19.7042, 13.9169, 60.6673) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.63
Iris
#6258C4
ΔE00 1.65
Light Indigo
#6D5ACF
ΔE00 2.08
Dark Periwinkle
#665FD1
ΔE00 2.51
Warm Blue
#4B57DB
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257CF #C4CF57
analogous
#5788CF #6257CF #9E57CF
triadic
#6257CF #CF6257 #57CF62
tetradic
#6257CF #CF5788 #C4CF57 #57CF9E
square
#6257CF #CF5788 #C4CF57 #57CF9E
split-complementary
#6257CF #CF9E57 #88CF57
monochromatic
#2F2685 #4034B5 #6257CF #8E87DD #BBB6EA
Accessibility & contrast
On white
5.55
#6257CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#6257CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257CF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257CF | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#34738A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6257cf; /* rgb */ color: rgb(98, 87, 207); /* oklch */ color: oklch(53.3% 0.179 282.6);
Tailwind
colors: {
custom: {
50: '#9787de',
500: '#6257cf',
950: '#000000',
},
}SCSS
$custom: #6257cf; $custom-light: #9787de; $custom-dark: #000000;
JSON
{
"hex": "#6257cf",
"rgb": {
"r": 98,
"g": 87,
"b": 207
},
"hsl": {
"h": 245.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.53333,
"c": 0.17883,
"h": 282.6
},
"luminance": 0.13918
}Semantic roles & 50–950 ramp
primary
#6257CF
secondary
#D5D9A9
accent
#DF49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83