#646CE3#646CE3
#646CE3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.178 H 276.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #646CE3 |
|---|---|
| RGB | rgb(100, 108, 227) |
| HSL | hsl(236, 69%, 64%) |
| HSV | hsv(236, 56%, 89%) |
| CMYK | cmyk(55.9%, 52.4%, 0%, 11%) |
| CIE-LAB | lab(50.66, 30.78, -61.72) |
| CIE-LCH | lch(50.66, 68.97, 296.51°) |
| OKLab | oklab(58.67% 0.0202 -0.1766) |
| OKLCH | oklch(58.67% 0.178 276.5) |
| XYZ | xyz(24.4788, 18.9788, 75.0315) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.36
Mediumslateblue
#7B68EE
ΔE00 4.67
Cornflower
#6A79F7
ΔE00 5.03
Royal Blue
#4169E1
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CE3 #E3DB64
analogous
#64ACE3 #646CE3 #9B64E3
triadic
#646CE3 #E3646C #6CE364
tetradic
#646CE3 #E364AC #E3DB64 #64E39B
square
#646CE3 #E364AC #E3DB64 #64E39B
split-complementary
#646CE3 #E39B64 #ACE364
monochromatic
#1F28AD #303BDA #646CE3 #989DEC #CCCEF6
Accessibility & contrast
On white
4.38
#646CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#646CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CE3
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CE3 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#277EE7
Deuteranopia (green-blind)
#0373E1
Tritanopia (blue-blind)
#1B879D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #646ce3; /* rgb */ color: rgb(100, 108, 227); /* oklch */ color: oklch(58.7% 0.178 276.5);
Tailwind
colors: {
custom: {
50: '#9a96ec',
500: '#646ce3',
950: '#000000',
},
}SCSS
$custom: #646ce3; $custom-light: #9a96ec; $custom-dark: #000000;
JSON
{
"hex": "#646ce3",
"rgb": {
"r": 100,
"g": 108,
"b": 227
},
"hsl": {
"h": 236.22,
"s": 69.399,
"l": 64.118
},
"oklch": {
"l": 0.58674,
"c": 0.17778,
"h": 276.5
},
"luminance": 0.18981
}Semantic roles & 50–950 ramp
primary
#646CE3
secondary
#E8E5BB
accent
#C514D1
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84