#6162CF#6162CF
#6162CF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.164 H 279.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6162CF |
|---|---|
| RGB | rgb(97, 98, 207) |
| HSL | hsl(239, 53%, 60%) |
| HSV | hsv(239, 53%, 81%) |
| CMYK | cmyk(53.1%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.69, 29.93, -56.78) |
| CIE-LCH | lch(46.69, 64.19, 297.80°) |
| OKLab | oklab(55.23% 0.0262 -0.1622) |
| OKLCH | oklch(55.23% 0.164 279.2) |
| XYZ | xyz(20.5564, 15.7805, 60.9821) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.51
Slate Blue
#6A5ACD
ΔE00 3.34
Iris
#6258C4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 3.68
Warm Blue
#4B57DB
ΔE00 4.50
Royal Blue
#4169E1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162CF #CFCE61
analogous
#6199CF #6162CF #9761CF
triadic
#6162CF #CF6162 #62CF61
tetradic
#6162CF #CF6199 #CFCE61 #61CF97
square
#6162CF #CF6199 #CFCE61 #61CF97
split-complementary
#6162CF #CF9761 #99CF61
monochromatic
#2A2B8B #393ABA #6162CF #9091DD #BFBFEC
Accessibility & contrast
On white
5.05
#6162CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6162CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162CF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162CF | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#146ACD
Tritanopia (blue-blind)
#307B8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6162cf; /* rgb */ color: rgb(97, 98, 207); /* oklch */ color: oklch(55.2% 0.164 279.2);
Tailwind
colors: {
custom: {
50: '#968ede',
500: '#6162cf',
950: '#000000',
},
}SCSS
$custom: #6162cf; $custom-light: #968ede; $custom-dark: #000000;
JSON
{
"hex": "#6162cf",
"rgb": {
"r": 97,
"g": 98,
"b": 207
},
"hsl": {
"h": 239.455,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.55226,
"c": 0.16435,
"h": 279.2
},
"luminance": 0.15782
}Semantic roles & 50–950 ramp
primary
#6162CF
secondary
#DBDBB1
accent
#DB4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83