#6562C8#6562C8
#6562C8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.154 H 281.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6562C8 |
|---|---|
| RGB | rgb(101, 98, 200) |
| HSL | hsl(242, 48%, 58%) |
| HSV | hsv(242, 51%, 78%) |
| CMYK | cmyk(49.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(46.54, 28.60, -52.98) |
| CIE-LCH | lch(46.54, 60.21, 298.36°) |
| OKLab | oklab(55.05% 0.0304 -0.151) |
| OKLCH | oklch(55.05% 0.154 281.4) |
| XYZ | xyz(20.1567, 15.6711, 56.5951) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.71
Slate Blue
#6A5ACD
ΔE00 3.01
Iris
#6258C4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 5.39
Mediumslateblue
#7B68EE
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6562C8 #C5C862
analogous
#6292C8 #6562C8 #9862C8
triadic
#6562C8 #C86562 #62C865
tetradic
#6562C8 #C86292 #C5C862 #62C898
square
#6562C8 #C86292 #C5C862 #62C898
split-complementary
#6562C8 #C89862 #92C862
monochromatic
#302E82 #413DAF #6562C8 #918FD8 #BEBDE8
Accessibility & contrast
On white
5.08
#6562C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#6562C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6562C8
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6562C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6562C8 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#40788C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6562c8; /* rgb */ color: rgb(101, 98, 200); /* oklch */ color: oklch(55.1% 0.154 281.4);
Tailwind
colors: {
custom: {
50: '#978ed9',
500: '#6562c8',
950: '#000000',
},
}SCSS
$custom: #6562c8; $custom-light: #978ed9; $custom-dark: #000000;
JSON
{
"hex": "#6562c8",
"rgb": {
"r": 101,
"g": 98,
"b": 200
},
"hsl": {
"h": 241.765,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.55051,
"c": 0.15401,
"h": 281.4
},
"luminance": 0.15672
}Semantic roles & 50–950 ramp
primary
#6562C8
secondary
#D6D7AF
accent
#D850D4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83