#6257DD#6257DD
#6257DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.4% C 0.197 H 281.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6257DD |
|---|---|
| RGB | rgb(98, 87, 221) |
| HSL | hsl(245, 66%, 60%) |
| HSV | hsv(245, 61%, 87%) |
| CMYK | cmyk(55.7%, 60.6%, 0%, 13.3%) |
| CIE-LAB | lab(45.13, 41.14, -67.29) |
| CIE-LCH | lch(45.13, 78.87, 301.44°) |
| OKLab | oklab(54.4% 0.0386 -0.1932) |
| OKLCH | oklch(54.4% 0.197 281.3) |
| XYZ | xyz(21.4923, 14.6321, 70.0844) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.68
Light Indigo
#6D5ACF
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 2.88
Warm Blue
#4B57DB
ΔE00 3.39
Iris
#6258C4
ΔE00 3.56
Purpleish Blue
#6140EF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257DD #D2DD57
analogous
#578FDD #6257DD #A557DD
triadic
#6257DD #DD6257 #57DD62
tetradic
#6257DD #DD578F #D2DD57 #57DDA5
square
#6257DD #DD578F #D2DD57 #57DDA5
split-complementary
#6257DD #DDA557 #8FDD57
monochromatic
#291F9A #372ACD #6257DD #928AE7 #C1BDF2
Accessibility & contrast
On white
5.35
#6257DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#6257DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257DD
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257DD | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#237792
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6257dd; /* rgb */ color: rgb(98, 87, 221); /* oklch */ color: oklch(54.4% 0.197 281.3);
Tailwind
colors: {
custom: {
50: '#9987e8',
500: '#6257dd',
950: '#000000',
},
}SCSS
$custom: #6257dd; $custom-light: #9987e8; $custom-dark: #000000;
JSON
{
"hex": "#6257dd",
"rgb": {
"r": 98,
"g": 87,
"b": 221
},
"hsl": {
"h": 244.925,
"s": 66.337,
"l": 60.392
},
"oklch": {
"l": 0.54398,
"c": 0.19705,
"h": 281.3
},
"luminance": 0.14634
}Semantic roles & 50–950 ramp
primary
#6257DD
secondary
#DDE1AE
accent
#CE17BF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84