#6162CA#6162CA
#6162CA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.157 H 279.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6162CA |
|---|---|
| RGB | rgb(97, 98, 202) |
| HSL | hsl(239, 50%, 59%) |
| HSV | hsv(239, 52%, 79%) |
| CMYK | cmyk(52%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(46.36, 28.36, -54.43) |
| CIE-LCH | lch(46.36, 61.37, 297.52°) |
| OKLab | oklab(54.88% 0.0259 -0.1553) |
| OKLCH | oklch(54.88% 0.157 279.5) |
| XYZ | xyz(19.9548, 15.5398, 57.8137) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.82
Slate Blue
#6A5ACD
ΔE00 3.39
Iris
#6258C4
ΔE00 3.44
Light Indigo
#6D5ACF
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.80
Royal Blue
#4169E1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162CA #CAC961
analogous
#6196CA #6162CA #9461CA
triadic
#6162CA #CA6162 #62CA61
tetradic
#6162CA #CA6196 #CAC961 #61CA94
square
#6162CA #CA6196 #CAC961 #61CA94
split-complementary
#6162CA #CA9461 #96CA61
monochromatic
#2C2D84 #3C3DB2 #6162CA #8F90D9 #BDBDE9
Accessibility & contrast
On white
5.11
#6162CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#6162CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162CA
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162CA | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#35798D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6162ca; /* rgb */ color: rgb(97, 98, 202); /* oklch */ color: oklch(54.9% 0.157 279.5);
Tailwind
colors: {
custom: {
50: '#958edb',
500: '#6162ca',
950: '#000000',
},
}SCSS
$custom: #6162ca; $custom-light: #958edb; $custom-dark: #000000;
JSON
{
"hex": "#6162ca",
"rgb": {
"r": 97,
"g": 98,
"b": 202
},
"hsl": {
"h": 239.429,
"s": 49.763,
"l": 58.627
},
"oklch": {
"l": 0.54883,
"c": 0.15747,
"h": 279.5
},
"luminance": 0.15541
}Semantic roles & 50–950 ramp
primary
#6162CA
secondary
#D8D8AF
accent
#D84FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83