#646FBE#646FBE
#646FBE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.122 H 275.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646FBE |
|---|---|
| RGB | rgb(100, 111, 190) |
| HSL | hsl(233, 41%, 57%) |
| HSV | hsv(233, 47%, 75%) |
| CMYK | cmyk(47.4%, 41.6%, 0%, 25.5%) |
| CIE-LAB | lab(49.25, 17.30, -42.90) |
| CIE-LCH | lch(49.25, 46.26, 291.97°) |
| OKLab | oklab(56.9% 0.0124 -0.1214) |
| OKLCH | oklch(56.9% 0.122 275.8) |
| XYZ | xyz(20.2314, 17.7948, 51.0739) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 6.45
Royal Blue
#4169E1
ΔE00 6.81
French Blue
#436BAD
ΔE00 7.09
Slate Blue
#6A5ACD
ΔE00 7.97
Iris
#6258C4
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FBE #BEB364
analogous
#649CBE #646FBE #8664BE
triadic
#646FBE #BE646F #6FBE64
tetradic
#646FBE #BE649C #BEB364 #64BE86
square
#646FBE #BE649C #BEB364 #64BE86
split-complementary
#646FBE #BE8664 #9CBE64
monochromatic
#323A76 #444FA1 #646FBE #8F97D0 #BABFE2
Accessibility & contrast
On white
4.61
#646FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#646FBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646FBE
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646FBE | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#437F8D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646fbe; /* rgb */ color: rgb(100, 111, 190); /* oklch */ color: oklch(56.9% 0.122 275.8);
Tailwind
colors: {
custom: {
50: '#9598d2',
500: '#646fbe',
950: '#000000',
},
}SCSS
$custom: #646fbe; $custom-light: #9598d2; $custom-dark: #000000;
JSON
{
"hex": "#646fbe",
"rgb": {
"r": 100,
"g": 111,
"b": 190
},
"hsl": {
"h": 232.667,
"s": 40.909,
"l": 56.863
},
"oklch": {
"l": 0.56896,
"c": 0.12199,
"h": 275.8
},
"luminance": 0.17796
}Semantic roles & 50–950 ramp
primary
#646FBE
secondary
#D1CDAD
accent
#C257D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82