#645EBF#645EBF
#645EBF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.147 H 283.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #645EBF |
|---|---|
| RGB | rgb(100, 94, 191) |
| HSL | hsl(244, 43%, 56%) |
| HSV | hsv(244, 51%, 75%) |
| CMYK | cmyk(47.6%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(44.91, 28.07, -50.40) |
| CIE-LCH | lch(44.91, 57.69, 299.11°) |
| OKLab | oklab(53.63% 0.0332 -0.1434) |
| OKLCH | oklch(53.63% 0.147 283) |
| XYZ | xyz(18.6594, 14.4754, 51.0910) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Dark Periwinkle
#665FD1
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.32
Warm Blue
#4B57DB
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EBF #B9BF5E
analogous
#5E88BF #645EBF #945EBF
triadic
#645EBF #BF645E #5EBF64
tetradic
#645EBF #BF5E88 #B9BF5E #5EBF94
square
#645EBF #BF5E88 #B9BF5E #5EBF94
split-complementary
#645EBF #BF945E #88BF5E
monochromatic
#332E74 #4640A0 #645EBF #8E8AD0 #B8B6E2
Accessibility & contrast
On white
5.39
#645EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#645EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EBF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EBF | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316DC2
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#447385
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #645ebf; /* rgb */ color: rgb(100, 94, 191); /* oklch */ color: oklch(53.6% 0.147 283.0);
Tailwind
colors: {
custom: {
50: '#968bd3',
500: '#645ebf',
950: '#000000',
},
}SCSS
$custom: #645ebf; $custom-light: #968bd3; $custom-dark: #000000;
JSON
{
"hex": "#645ebf",
"rgb": {
"r": 100,
"g": 94,
"b": 191
},
"hsl": {
"h": 243.711,
"s": 43.111,
"l": 55.882
},
"oklch": {
"l": 0.53627,
"c": 0.14724,
"h": 283
},
"luminance": 0.14476
}Semantic roles & 50–950 ramp
primary
#645EBF
secondary
#CED0A8
accent
#D355CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83