#7062CD#7062CD
#7062CD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.160 H 286.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7062CD |
|---|---|
| RGB | rgb(112, 98, 205) |
| HSL | hsl(248, 52%, 59%) |
| HSV | hsv(248, 52%, 80%) |
| CMYK | cmyk(45.4%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.74, 32.58, -53.88) |
| CIE-LCH | lch(47.74, 62.97, 301.16°) |
| OKLab | oklab(56.27% 0.0441 -0.1533) |
| OKLCH | oklch(56.27% 0.16 286) |
| XYZ | xyz(22.0660, 16.5870, 59.7847) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.14
Light Indigo
#6D5ACF
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 2.63
Iris
#6258C4
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 5.49
Purpley
#8756E4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7062CD #BFCD62
analogous
#628ACD #7062CD #A562CD
triadic
#7062CD #CD7062 #62CD70
tetradic
#7062CD #CD628A #BFCD62 #62CDA5
square
#7062CD #CD628A #BFCD62 #62CDA5
split-complementary
#7062CD #CDA562 #8ACD62
monochromatic
#382C89 #4B3AB7 #7062CD #9A90DC #C5BFEB
Accessibility & contrast
On white
4.86
#7062CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7062CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7062CD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7062CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7062CD | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#52798E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7062cd; /* rgb */ color: rgb(112, 98, 205); /* oklch */ color: oklch(56.3% 0.160 286.0);
Tailwind
colors: {
custom: {
50: '#9f8fdd',
500: '#7062cd',
950: '#000000',
},
}SCSS
$custom: #7062cd; $custom-light: #9f8fdd; $custom-dark: #000000;
JSON
{
"hex": "#7062cd",
"rgb": {
"r": 112,
"g": 98,
"b": 205
},
"hsl": {
"h": 247.85,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.56265,
"c": 0.15955,
"h": 286
},
"luminance": 0.16588
}Semantic roles & 50–950 ramp
primary
#7062CD
secondary
#D5DAB1
accent
#DB4DC9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83