#645BDA#645BDA
#645BDA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.188 H 281.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #645BDA |
|---|---|
| RGB | rgb(100, 91, 218) |
| HSL | hsl(244, 63%, 61%) |
| HSV | hsv(244, 58%, 85%) |
| CMYK | cmyk(54.1%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(45.98, 38.20, -64.20) |
| CIE-LCH | lch(45.98, 74.70, 300.76°) |
| OKLab | oklab(54.99% 0.0373 -0.184) |
| OKLCH | oklch(54.99% 0.188 281.5) |
| XYZ | xyz(21.6476, 15.2521, 68.1193) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.74
Slate Blue
#6A5ACD
ΔE00 2.21
Light Indigo
#6D5ACF
ΔE00 2.32
Iris
#6258C4
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.71
Mediumslateblue
#7B68EE
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BDA #D1DA5B
analogous
#5B91DA #645BDA #A35BDA
triadic
#645BDA #DA645B #5BDA64
tetradic
#645BDA #DA5B91 #D1DA5B #5BDAA3
square
#645BDA #DA5B91 #D1DA5B #5BDAA3
split-complementary
#645BDA #DAA35B #91DA5B
monochromatic
#2B2298 #392ECA #645BDA #938DE5 #C2BFF1
Accessibility & contrast
On white
5.18
#645BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#645BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BDA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BDA | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#2D7992
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645bda; /* rgb */ color: rgb(100, 91, 218); /* oklch */ color: oklch(55.0% 0.188 281.5);
Tailwind
colors: {
custom: {
50: '#9a8ae6',
500: '#645bda',
950: '#000000',
},
}SCSS
$custom: #645bda; $custom-light: #9a8ae6; $custom-dark: #000000;
JSON
{
"hex": "#645bda",
"rgb": {
"r": 100,
"g": 91,
"b": 218
},
"hsl": {
"h": 244.252,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.54994,
"c": 0.18777,
"h": 281.5
},
"luminance": 0.15253
}Semantic roles & 50–950 ramp
primary
#645BDA
secondary
#DDE1B0
accent
#CB1BBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84