#646EE3#646EE3
#646EE3 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.175 H 276.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #646EE3 |
|---|---|
| RGB | rgb(100, 110, 227) |
| HSL | hsl(235, 69%, 64%) |
| HSV | hsv(235, 56%, 89%) |
| CMYK | cmyk(55.9%, 51.5%, 0%, 11%) |
| CIE-LAB | lab(51.16, 29.56, -60.92) |
| CIE-LCH | lch(51.16, 67.71, 295.89°) |
| OKLab | oklab(59.05% 0.0182 -0.1742) |
| OKLCH | oklch(59.05% 0.175 276) |
| XYZ | xyz(24.6921, 19.4055, 75.1026) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.06
Cornflower
#6A79F7
ΔE00 4.49
Mediumslateblue
#7B68EE
ΔE00 4.99
Royal Blue
#4169E1
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.74
Bright Blue
#0165FC
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EE3 #E3D964
analogous
#64ADE3 #646EE3 #9A64E3
triadic
#646EE3 #E3646E #6EE364
tetradic
#646EE3 #E364AD #E3D964 #64E39A
square
#646EE3 #E364AD #E3D964 #64E39A
split-complementary
#646EE3 #E39A64 #ADE364
monochromatic
#1F2AAD #303EDA #646EE3 #989EEC #CCCFF6
Accessibility & contrast
On white
4.30
#646EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#646EE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EE3
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EE3 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#1275E1
Tritanopia (blue-blind)
#1B899E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646ee3; /* rgb */ color: rgb(100, 110, 227); /* oklch */ color: oklch(59.0% 0.175 276.0);
Tailwind
colors: {
custom: {
50: '#9a97ec',
500: '#646ee3',
950: '#000000',
},
}SCSS
$custom: #646ee3; $custom-light: #9a97ec; $custom-dark: #000000;
JSON
{
"hex": "#646ee3",
"rgb": {
"r": 100,
"g": 110,
"b": 227
},
"hsl": {
"h": 235.276,
"s": 69.399,
"l": 64.118
},
"oklch": {
"l": 0.59046,
"c": 0.1752,
"h": 276
},
"luminance": 0.19407
}Semantic roles & 50–950 ramp
primary
#646EE3
secondary
#E8E4BB
accent
#C214D1
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84