#6257BF#6257BF
#6257BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.157 H 284.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6257BF |
|---|---|
| RGB | rgb(98, 87, 191) |
| HSL | hsl(246, 45%, 55%) |
| HSV | hsv(246, 54%, 75%) |
| CMYK | cmyk(48.7%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(43.02, 31.90, -53.44) |
| CIE-LCH | lch(43.02, 62.23, 300.83°) |
| OKLab | oklab(52.18% 0.0389 -0.1525) |
| OKLCH | oklch(52.18% 0.157 284.3) |
| XYZ | xyz(17.8464, 13.1738, 50.8826) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.83
Slate Blue
#6A5ACD
ΔE00 2.60
Light Indigo
#6D5ACF
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 3.67
Warm Blue
#4B57DB
ΔE00 5.21
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257BF #B4BF57
analogous
#5780BF #6257BF #9657BF
triadic
#6257BF #BF6257 #57BF62
tetradic
#6257BF #BF5780 #B4BF57 #57BF96
square
#6257BF #BF5780 #B4BF57 #57BF96
split-complementary
#6257BF #BF9657 #80BF57
monochromatic
#322B71 #463C9D #6257BF #8B83D0 #B5B0E1
Accessibility & contrast
On white
5.78
#6257BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#6257BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257BF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257BF | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#416E82
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6257bf; /* rgb */ color: rgb(98, 87, 191); /* oklch */ color: oklch(52.2% 0.157 284.3);
Tailwind
colors: {
custom: {
50: '#9586d3',
500: '#6257bf',
950: '#000000',
},
}SCSS
$custom: #6257bf; $custom-light: #9586d3; $custom-dark: #000000;
JSON
{
"hex": "#6257bf",
"rgb": {
"r": 98,
"g": 87,
"b": 191
},
"hsl": {
"h": 246.346,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.52179,
"c": 0.15735,
"h": 284.3
},
"luminance": 0.13175
}Semantic roles & 50–950 ramp
primary
#6257BF
secondary
#CACFA3
accent
#D553C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83