#646BBF#646BBF
#646BBF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.129 H 277.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #646BBF |
|---|---|
| RGB | rgb(100, 107, 191) |
| HSL | hsl(235, 42%, 57%) |
| HSV | hsv(235, 48%, 75%) |
| CMYK | cmyk(47.6%, 44%, 0%, 25.1%) |
| CIE-LAB | lab(48.24, 20.07, -45.08) |
| CIE-LCH | lch(48.24, 49.34, 294.00°) |
| OKLab | oklab(56.15% 0.0175 -0.1277) |
| OKLCH | oklch(56.15% 0.129 277.8) |
| XYZ | xyz(19.9143, 16.9852, 51.5093) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.12
Cornflower Blue
#5170D7
ΔE00 5.46
Iris
#6258C4
ΔE00 6.53
Slate Blue
#6A5ACD
ΔE00 6.54
Royal Blue
#4169E1
ΔE00 6.76
Light Indigo
#6D5ACF
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BBF #BFB864
analogous
#6498BF #646BBF #8B64BF
triadic
#646BBF #BF646B #6BBF64
tetradic
#646BBF #BF6498 #BFB864 #64BF8B
square
#646BBF #BF6498 #BFB864 #64BF8B
split-complementary
#646BBF #BF8B64 #98BF64
monochromatic
#313777 #434BA3 #646BBF #8F94D1 #BBBEE3
Accessibility & contrast
On white
4.78
#646BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#646BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646BBF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646BBF | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#437D8C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #646bbf; /* rgb */ color: rgb(100, 107, 191); /* oklch */ color: oklch(56.1% 0.129 277.8);
Tailwind
colors: {
custom: {
50: '#9595d3',
500: '#646bbf',
950: '#000000',
},
}SCSS
$custom: #646bbf; $custom-light: #9595d3; $custom-dark: #000000;
JSON
{
"hex": "#646bbf",
"rgb": {
"r": 100,
"g": 107,
"b": 191
},
"hsl": {
"h": 235.385,
"s": 41.553,
"l": 57.059
},
"oklch": {
"l": 0.56147,
"c": 0.12893,
"h": 277.8
},
"luminance": 0.16986
}Semantic roles & 50–950 ramp
primary
#646BBF
secondary
#D2CFAD
accent
#C856D1
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83