#646CEC#646CEC
#646CEC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.190 H 276.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #646CEC |
|---|---|
| RGB | rgb(100, 108, 236) |
| HSL | hsl(236, 78%, 66%) |
| HSV | hsv(236, 58%, 93%) |
| CMYK | cmyk(57.6%, 54.2%, 0%, 7.5%) |
| CIE-LAB | lab(51.25, 33.66, -65.82) |
| CIE-LCH | lch(51.25, 73.92, 297.08°) |
| OKLab | oklab(59.31% 0.0207 -0.1887) |
| OKLCH | oklch(59.31% 0.19 276.3) |
| XYZ | xyz(25.7535, 19.4887, 81.7452) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.28
Cornflower
#6A79F7
ΔE00 4.45
Cornflower Blue
#5170D7
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.83
Bright Blue
#0165FC
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CEC #ECE464
analogous
#64B0EC #646CEC #A064EC
triadic
#646CEC #EC646C #6CEC64
tetradic
#646CEC #EC64B0 #ECE464 #64ECA0
square
#646CEC #EC64B0 #ECE464 #64ECA0
split-complementary
#646CEC #ECA064 #B0EC64
monochromatic
#1721BE #2D38E5 #646CEC #9BA0F3 #D1D3F9
Accessibility & contrast
On white
4.29
#646CEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#646CEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CEC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CEC | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1180F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646cec; /* rgb */ color: rgb(100, 108, 236); /* oklch */ color: oklch(59.3% 0.190 276.3);
Tailwind
colors: {
custom: {
50: '#9b96f3',
500: '#646cec',
950: '#000000',
},
}SCSS
$custom: #646cec; $custom-light: #9b96f3; $custom-dark: #000000;
JSON
{
"hex": "#646cec",
"rgb": {
"r": 100,
"g": 108,
"b": 236
},
"hsl": {
"h": 236.471,
"s": 78.161,
"l": 65.882
},
"oklch": {
"l": 0.59305,
"c": 0.18981,
"h": 276.3
},
"luminance": 0.19491
}Semantic roles & 50–950 ramp
primary
#646CEC
secondary
#ECEABF
accent
#CE0BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85