#6451CC#6451CC
#6451CC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.183 H 285.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6451CC |
|---|---|
| RGB | rgb(100, 81, 204) |
| HSL | hsl(249, 55%, 56%) |
| HSV | hsv(249, 60%, 80%) |
| CMYK | cmyk(51%, 60.3%, 0%, 20%) |
| CIE-LAB | lab(42.69, 39.85, -61.50) |
| CIE-LCH | lch(42.69, 73.28, 302.94°) |
| OKLab | oklab(52.26% 0.048 -0.1761) |
| OKLCH | oklch(52.26% 0.183 285.2) |
| XYZ | xyz(19.0938, 12.9528, 58.6091) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.48
Slate Blue
#6A5ACD
ΔE00 2.77
Light Indigo
#6D5ACF
ΔE00 2.99
Dark Periwinkle
#665FD1
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 4.34
Warm Blue
#4B57DB
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6451CC #B9CC51
analogous
#517BCC #6451CC #A151CC
triadic
#6451CC #CC6451 #51CC64
tetradic
#6451CC #CC517B #B9CC51 #51CCA1
square
#6451CC #CC517B #B9CC51 #51CCA1
split-complementary
#6451CC #CCA151 #7BCC51
monochromatic
#33257E #4633AD #6451CC #8E80DA #B8B0E8
Accessibility & contrast
On white
5.85
#6451CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6451CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6451CC
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6451CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6451CC | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#3C6E87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6451cc; /* rgb */ color: rgb(100, 81, 204); /* oklch */ color: oklch(52.3% 0.183 285.2);
Tailwind
colors: {
custom: {
50: '#9883dc',
500: '#6451cc',
950: '#000000',
},
}SCSS
$custom: #6451cc; $custom-light: #9883dc; $custom-dark: #000000;
JSON
{
"hex": "#6451cc",
"rgb": {
"r": 100,
"g": 81,
"b": 204
},
"hsl": {
"h": 249.268,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.52261,
"c": 0.18256,
"h": 285.2
},
"luminance": 0.12954
}Semantic roles & 50–950 ramp
primary
#6451CC
secondary
#CED6A3
accent
#DE4AC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83