#645FBB#645FBB
#645FBB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.140 H 283.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #645FBB |
|---|---|
| RGB | rgb(100, 95, 187) |
| HSL | hsl(243, 40%, 55%) |
| HSV | hsv(243, 49%, 73%) |
| CMYK | cmyk(46.5%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(44.91, 26.23, -48.07) |
| CIE-LCH | lch(44.91, 54.76, 298.62°) |
| OKLab | oklab(53.55% 0.0316 -0.1366) |
| OKLCH | oklch(53.55% 0.14 283) |
| XYZ | xyz(18.3147, 14.4807, 48.8341) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.98
Warm Blue
#4B57DB
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FBB #B6BB5F
analogous
#5F88BB #645FBB #925FBB
triadic
#645FBB #BB645F #5FBB64
tetradic
#645FBB #BB5F88 #B6BB5F #5FBB92
square
#645FBB #BB5F88 #B6BB5F #5FBB92
split-complementary
#645FBB #BB925F #88BB5F
monochromatic
#333070 #47429B #645FBB #8E8ACD #B7B5E0
Accessibility & contrast
On white
5.39
#645FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#645FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FBB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FBB | 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)
#376DBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#477384
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #645fbb; /* rgb */ color: rgb(100, 95, 187); /* oklch */ color: oklch(53.6% 0.140 283.0);
Tailwind
colors: {
custom: {
50: '#958cd0',
500: '#645fbb',
950: '#000000',
},
}SCSS
$custom: #645fbb; $custom-light: #958cd0; $custom-dark: #000000;
JSON
{
"hex": "#645fbb",
"rgb": {
"r": 100,
"g": 95,
"b": 187
},
"hsl": {
"h": 243.261,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.53554,
"c": 0.14019,
"h": 283
},
"luminance": 0.14482
}Semantic roles & 50–950 ramp
primary
#645FBB
secondary
#CCCEA8
accent
#D058CA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82