#6351CD#6351CD
#6351CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.3% C 0.184 H 284.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6351CD |
|---|---|
| RGB | rgb(99, 81, 205) |
| HSL | hsl(249, 55%, 56%) |
| HSV | hsv(249, 60%, 80%) |
| CMYK | cmyk(51.7%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(42.68, 39.96, -62.10) |
| CIE-LCH | lch(42.68, 73.85, 302.76°) |
| OKLab | oklab(52.25% 0.0466 -0.1779) |
| OKLCH | oklch(52.25% 0.184 284.7) |
| XYZ | xyz(19.1042, 12.9443, 59.2376) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 2.81
Light Indigo
#6D5ACF
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 4.38
Warm Blue
#4B57DB
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6351CD #BBCD51
analogous
#517DCD #6351CD #A151CD
triadic
#6351CD #CD6351 #51CD63
tetradic
#6351CD #CD517D #BBCD51 #51CDA1
square
#6351CD #CD517D #BBCD51 #51CDA1
split-complementary
#6351CD #CDA151 #7DCD51
monochromatic
#32257F #4432AF #6351CD #8E81DB #B8B0E8
Accessibility & contrast
On white
5.85
#6351CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6351CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6351CD
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6351CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6351CD | 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)
#0068D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#396E87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6351cd; /* rgb */ color: rgb(99, 81, 205); /* oklch */ color: oklch(52.3% 0.184 284.7);
Tailwind
colors: {
custom: {
50: '#9883dd',
500: '#6351cd',
950: '#000000',
},
}SCSS
$custom: #6351cd; $custom-light: #9883dd; $custom-dark: #000000;
JSON
{
"hex": "#6351cd",
"rgb": {
"r": 99,
"g": 81,
"b": 205
},
"hsl": {
"h": 248.71,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.52253,
"c": 0.18395,
"h": 284.7
},
"luminance": 0.12945
}Semantic roles & 50–950 ramp
primary
#6351CD
secondary
#CFD7A3
accent
#DF49C9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83