#6257DC#6257DC
#6257DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.196 H 281.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6257DC |
|---|---|
| RGB | rgb(98, 87, 220) |
| HSL | hsl(245, 66%, 60%) |
| HSV | hsv(245, 60%, 86%) |
| CMYK | cmyk(55.5%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.05, 40.83, -66.84) |
| CIE-LCH | lch(45.05, 78.33, 301.42°) |
| OKLab | oklab(54.32% 0.0387 -0.1919) |
| OKLCH | oklch(54.32% 0.196 281.4) |
| XYZ | xyz(21.3595, 14.5790, 69.3848) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.58
Light Indigo
#6D5ACF
ΔE00 2.68
Dark Periwinkle
#665FD1
ΔE00 2.82
Warm Blue
#4B57DB
ΔE00 3.37
Iris
#6258C4
ΔE00 3.42
Purpleish Blue
#6140EF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257DC #D1DC57
analogous
#578FDC #6257DC #A457DC
triadic
#6257DC #DC6257 #57DC62
tetradic
#6257DC #DC578F #D1DC57 #57DCA4
square
#6257DC #DC578F #D1DC57 #57DCA4
split-complementary
#6257DC #DCA457 #8FDC57
monochromatic
#2A2099 #382ACB #6257DC #918AE7 #C1BCF1
Accessibility & contrast
On white
5.36
#6257DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#6257DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257DC
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257DC | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#257791
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6257dc; /* rgb */ color: rgb(98, 87, 220); /* oklch */ color: oklch(54.3% 0.196 281.4);
Tailwind
colors: {
custom: {
50: '#9987e8',
500: '#6257dc',
950: '#000000',
},
}SCSS
$custom: #6257dc; $custom-light: #9987e8; $custom-dark: #000000;
JSON
{
"hex": "#6257dc",
"rgb": {
"r": 98,
"g": 87,
"b": 220
},
"hsl": {
"h": 244.962,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.5432,
"c": 0.19576,
"h": 281.4
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#6257DC
secondary
#DDE1AE
accent
#CD18BE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84