#6162C8#6162C8
#6162C8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.155 H 279.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6162C8 |
|---|---|
| RGB | rgb(97, 98, 200) |
| HSL | hsl(239, 48%, 58%) |
| HSV | hsv(239, 52%, 78%) |
| CMYK | cmyk(51.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(46.24, 27.73, -53.48) |
| CIE-LCH | lch(46.24, 60.24, 297.41°) |
| OKLab | oklab(54.75% 0.0257 -0.1525) |
| OKLCH | oklch(54.75% 0.155 279.6) |
| XYZ | xyz(19.7195, 15.4457, 56.5746) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.01
Iris
#6258C4
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.95
Royal Blue
#4169E1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162C8 #C8C761
analogous
#6196C8 #6162C8 #9361C8
triadic
#6162C8 #C86162 #62C861
tetradic
#6162C8 #C86196 #C8C761 #61C893
square
#6162C8 #C86196 #C8C761 #61C893
split-complementary
#6162C8 #C89361 #96C861
monochromatic
#2D2E82 #3D3EAF #6162C8 #8E8FD8 #BCBCE8
Accessibility & contrast
On white
5.14
#6162C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#6162C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162C8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162C8 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#36798C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6162c8; /* rgb */ color: rgb(97, 98, 200); /* oklch */ color: oklch(54.7% 0.155 279.6);
Tailwind
colors: {
custom: {
50: '#958ed9',
500: '#6162c8',
950: '#000000',
},
}SCSS
$custom: #6162c8; $custom-light: #958ed9; $custom-dark: #000000;
JSON
{
"hex": "#6162c8",
"rgb": {
"r": 97,
"g": 98,
"b": 200
},
"hsl": {
"h": 239.417,
"s": 48.357,
"l": 58.235
},
"oklch": {
"l": 0.54748,
"c": 0.15469,
"h": 279.6
},
"luminance": 0.15447
}Semantic roles & 50–950 ramp
primary
#6162C8
secondary
#D7D7AE
accent
#D750D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83