#645FBE#645FBE
#645FBE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.144 H 282.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #645FBE |
|---|---|
| RGB | rgb(100, 95, 190) |
| HSL | hsl(243, 42%, 56%) |
| HSV | hsv(243, 50%, 75%) |
| CMYK | cmyk(47.4%, 50%, 0%, 25.5%) |
| CIE-LAB | lab(45.10, 27.15, -49.52) |
| CIE-LCH | lch(45.10, 56.47, 298.73°) |
| OKLab | oklab(53.75% 0.0319 -0.1408) |
| OKLCH | oklch(53.75% 0.144 282.8) |
| XYZ | xyz(18.6392, 14.6105, 50.5432) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.15
Light Indigo
#6D5ACF
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 5.87
Royal Purple
#7851A9
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FBE #B9BE5F
analogous
#5F89BE #645FBE #935FBE
triadic
#645FBE #BE645F #5FBE64
tetradic
#645FBE #BE5F89 #B9BE5F #5FBE93
square
#645FBE #BE5F89 #B9BE5F #5FBE93
split-complementary
#645FBE #BE935F #89BE5F
monochromatic
#332F74 #46419F #645FBE #8E8BD0 #B8B6E1
Accessibility & contrast
On white
5.35
#645FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#645FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FBE
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FBE | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#457385
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645fbe; /* rgb */ color: rgb(100, 95, 190); /* oklch */ color: oklch(53.7% 0.144 282.8);
Tailwind
colors: {
custom: {
50: '#968cd2',
500: '#645fbe',
950: '#000000',
},
}SCSS
$custom: #645fbe; $custom-light: #968cd2; $custom-dark: #000000;
JSON
{
"hex": "#645fbe",
"rgb": {
"r": 100,
"g": 95,
"b": 190
},
"hsl": {
"h": 243.158,
"s": 42.222,
"l": 55.882
},
"oklch": {
"l": 0.53749,
"c": 0.14442,
"h": 282.8
},
"luminance": 0.14611
}Semantic roles & 50–950 ramp
primary
#645FBE
secondary
#CED0A9
accent
#D256CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83