#646BE3#646BE3
#646BE3 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.179 H 276.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #646BE3 |
|---|---|
| RGB | rgb(100, 107, 227) |
| HSL | hsl(237, 69%, 64%) |
| HSV | hsv(237, 56%, 89%) |
| CMYK | cmyk(55.9%, 52.9%, 0%, 11%) |
| CIE-LAB | lab(50.42, 31.39, -62.12) |
| CIE-LCH | lch(50.42, 69.60, 296.81°) |
| OKLab | oklab(58.49% 0.0213 -0.1778) |
| OKLCH | oklch(58.49% 0.179 276.8) |
| XYZ | xyz(24.3739, 18.7691, 74.9966) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.54
Mediumslateblue
#7B68EE
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.83
Royal Blue
#4169E1
ΔE00 5.07
Cornflower
#6A79F7
ΔE00 5.32
Slate Blue
#6A5ACD
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BE3 #E3DC64
analogous
#64ABE3 #646BE3 #9D64E3
triadic
#646BE3 #E3646B #6BE364
tetradic
#646BE3 #E364AB #E3DC64 #64E39D
square
#646BE3 #E364AB #E3DC64 #64E39D
split-complementary
#646BE3 #E39D64 #ABE364
monochromatic
#1F27AD #303ADA #646BE3 #989CEC #CCCEF6
Accessibility & contrast
On white
4.42
#646BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#646BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646BE3
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646BE3 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#237DE7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#1C869D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646be3; /* rgb */ color: rgb(100, 107, 227); /* oklch */ color: oklch(58.5% 0.179 276.8);
Tailwind
colors: {
custom: {
50: '#9a95ec',
500: '#646be3',
950: '#000000',
},
}SCSS
$custom: #646be3; $custom-light: #9a95ec; $custom-dark: #000000;
JSON
{
"hex": "#646be3",
"rgb": {
"r": 100,
"g": 107,
"b": 227
},
"hsl": {
"h": 236.693,
"s": 69.399,
"l": 64.118
},
"oklch": {
"l": 0.58489,
"c": 0.17907,
"h": 276.8
},
"luminance": 0.18771
}Semantic roles & 50–950 ramp
primary
#646BE3
secondary
#E8E5BB
accent
#C714D1
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84