#6451D9#6451D9
#6451D9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.3% C 0.199 H 283.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6451D9 |
|---|---|
| RGB | rgb(100, 81, 217) |
| HSL | hsl(248, 64%, 58%) |
| HSV | hsv(248, 63%, 85%) |
| CMYK | cmyk(53.9%, 62.7%, 0%, 14.9%) |
| CIE-LAB | lab(43.66, 43.77, -67.39) |
| CIE-LCH | lch(43.66, 80.36, 303.00°) |
| OKLab | oklab(53.27% 0.0471 -0.1935) |
| OKLCH | oklch(53.27% 0.199 283.7) |
| XYZ | xyz(20.7185, 13.6027, 67.1660) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.12
Light Indigo
#6D5ACF
ΔE00 3.16
Iris
#6258C4
ΔE00 3.62
Dark Periwinkle
#665FD1
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.27
Purpleish Blue
#6140EF
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6451D9 #C6D951
analogous
#5182D9 #6451D9 #A851D9
triadic
#6451D9 #D96451 #51D964
tetradic
#6451D9 #D95182 #C6D951 #51D9A8
square
#6451D9 #D95182 #C6D951 #51D9A8
split-complementary
#6451D9 #D9A851 #82D951
monochromatic
#2F1F90 #402AC2 #6451D9 #9183E4 #BDB5EF
Accessibility & contrast
On white
5.64
#6451D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6451D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6451D9
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6451D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6451D9 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#30728D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6451d9; /* rgb */ color: rgb(100, 81, 217); /* oklch */ color: oklch(53.3% 0.199 283.7);
Tailwind
colors: {
custom: {
50: '#9a83e6',
500: '#6451d9',
950: '#000000',
},
}SCSS
$custom: #6451d9; $custom-light: #9a83e6; $custom-dark: #000000;
JSON
{
"hex": "#6451d9",
"rgb": {
"r": 100,
"g": 81,
"b": 217
},
"hsl": {
"h": 248.382,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.5327,
"c": 0.19914,
"h": 283.7
},
"luminance": 0.13604
}Semantic roles & 50–950 ramp
primary
#6451D9
secondary
#D6DEA8
accent
#E741D0
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0B16
muted
#7F7C84