#6162BC#6162BC
#6162BC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.138 H 280.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6162BC |
|---|---|
| RGB | rgb(97, 98, 188) |
| HSL | hsl(239, 40%, 56%) |
| HSV | hsv(239, 48%, 74%) |
| CMYK | cmyk(48.4%, 47.9%, 0%, 26.3%) |
| CIE-LAB | lab(45.51, 23.98, -47.71) |
| CIE-LCH | lch(45.51, 53.40, 296.69°) |
| OKLab | oklab(53.96% 0.0245 -0.1356) |
| OKLCH | oklch(53.96% 0.138 280.2) |
| XYZ | xyz(18.3718, 14.9066, 49.4764) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.57
Iris
#6258C4
ΔE00 3.69
Slate Blue
#6A5ACD
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 6.18
Cornflower Blue
#5170D7
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162BC #BCBB61
analogous
#618FBC #6162BC #8D61BC
triadic
#6162BC #BC6162 #62BC61
tetradic
#6162BC #BC618F #BCBB61 #61BC8D
square
#6162BC #BC618F #BCBB61 #61BC8D
split-complementary
#6162BC #BC8D61 #8FBC61
monochromatic
#303172 #43449D #6162BC #8C8DCE #B7B7E0
Accessibility & contrast
On white
5.27
#6162BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6162BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162BC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162BC | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#407586
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6162bc; /* rgb */ color: rgb(97, 98, 188); /* oklch */ color: oklch(54.0% 0.138 280.2);
Tailwind
colors: {
custom: {
50: '#938ed1',
500: '#6162bc',
950: '#000000',
},
}SCSS
$custom: #6162bc; $custom-light: #938ed1; $custom-dark: #000000;
JSON
{
"hex": "#6162bc",
"rgb": {
"r": 97,
"g": 98,
"b": 188
},
"hsl": {
"h": 239.341,
"s": 40.444,
"l": 55.882
},
"oklch": {
"l": 0.5396,
"c": 0.13781,
"h": 280.2
},
"luminance": 0.14908
}Semantic roles & 50–950 ramp
primary
#6162BC
secondary
#CFCFAA
accent
#CF57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82