#6451C8#6451C8
#6451C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.177 H 285.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6451C8 |
|---|---|
| RGB | rgb(100, 81, 200) |
| HSL | hsl(250, 52%, 55%) |
| HSV | hsv(250, 60%, 78%) |
| CMYK | cmyk(50%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.40, 38.65, -59.65) |
| CIE-LCH | lch(42.40, 71.08, 302.94°) |
| OKLab | oklab(51.96% 0.0481 -0.1707) |
| OKLCH | oklch(51.96% 0.177 285.7) |
| XYZ | xyz(18.6202, 12.7634, 56.1148) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.13
Bluey Purple
#6241C7
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6451C8 #B5C851
analogous
#5179C8 #6451C8 #A051C8
triadic
#6451C8 #C86451 #51C864
tetradic
#6451C8 #C85179 #B5C851 #51C8A0
square
#6451C8 #C85179 #B5C851 #51C8A0
split-complementary
#6451C8 #C8A051 #79C851
monochromatic
#332679 #4735A7 #6451C8 #8D80D7 #B7AEE5
Accessibility & contrast
On white
5.91
#6451C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6451C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6451C8
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6451C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6451C8 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#3F6D85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6451c8; /* rgb */ color: rgb(100, 81, 200); /* oklch */ color: oklch(52.0% 0.177 285.7);
Tailwind
colors: {
custom: {
50: '#9882d9',
500: '#6451c8',
950: '#000000',
},
}SCSS
$custom: #6451c8; $custom-light: #9882d9; $custom-dark: #000000;
JSON
{
"hex": "#6451c8",
"rgb": {
"r": 100,
"g": 81,
"b": 200
},
"hsl": {
"h": 249.58,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.51959,
"c": 0.17737,
"h": 285.7
},
"luminance": 0.12764
}Semantic roles & 50–950 ramp
primary
#6451C8
secondary
#CBD3A1
accent
#DB4CC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83