#6562BB#6562BB
#6562BB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.136 H 282.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6562BB |
|---|---|
| RGB | rgb(101, 98, 187) |
| HSL | hsl(242, 40%, 56%) |
| HSV | hsv(242, 48%, 73%) |
| CMYK | cmyk(46%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(45.76, 24.63, -46.72) |
| CIE-LCH | lch(45.76, 52.81, 297.79°) |
| OKLab | oklab(54.21% 0.0292 -0.1326) |
| OKLCH | oklch(54.21% 0.136 282.4) |
| XYZ | xyz(18.7015, 15.0890, 48.9311) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.61
Iris
#6258C4
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 6.73
Cornflower Blue
#5170D7
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6562BB #B8BB62
analogous
#628BBB #6562BB #9162BB
triadic
#6562BB #BB6562 #62BB65
tetradic
#6562BB #BB628B #B8BB62 #62BB91
square
#6562BB #BB628B #B8BB62 #62BB91
split-complementary
#6562BB #BB9162 #8BBB62
monochromatic
#333171 #47449C #6562BB #8F8DCD #B9B7E0
Accessibility & contrast
On white
5.23
#6562BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6562BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6562BB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6562BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6562BB | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#487585
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6562bb; /* rgb */ color: rgb(101, 98, 187); /* oklch */ color: oklch(54.2% 0.136 282.4);
Tailwind
colors: {
custom: {
50: '#968ed0',
500: '#6562bb',
950: '#000000',
},
}SCSS
$custom: #6562bb; $custom-light: #968ed0; $custom-dark: #000000;
JSON
{
"hex": "#6562bb",
"rgb": {
"r": 101,
"g": 98,
"b": 187
},
"hsl": {
"h": 242.022,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.54208,
"c": 0.13575,
"h": 282.4
},
"luminance": 0.1509
}Semantic roles & 50–950 ramp
primary
#6562BB
secondary
#CECFAA
accent
#CF58CB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82