#6162E8#6162E8
#6162E8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.198 H 277.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6162E8 |
|---|---|
| RGB | rgb(97, 98, 232) |
| HSL | hsl(240, 75%, 65%) |
| HSV | hsv(240, 58%, 91%) |
| CMYK | cmyk(58.2%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(48.39, 37.87, -68.23) |
| CIE-LCH | lch(48.39, 78.03, 299.04°) |
| OKLab | oklab(57.03% 0.0268 -0.1959) |
| OKLCH | oklch(57.03% 0.198 277.8) |
| XYZ | xyz(23.8583, 17.1012, 78.3719) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.44
Mediumslateblue
#7B68EE
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162E8 #E8E761
analogous
#61A5E8 #6162E8 #A461E8
triadic
#6162E8 #E86162 #62E861
tetradic
#6162E8 #E861A5 #E8E761 #61E8A4
square
#6162E8 #E861A5 #E8E761 #61E8A4
split-complementary
#6162E8 #E8A461 #A5E861
monochromatic
#1A1BB4 #2C2DE0 #6162E8 #9697F0 #CCCCF8
Accessibility & contrast
On white
4.75
#6162E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#6162E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162E8
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162E8 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6162e8; /* rgb */ color: rgb(97, 98, 232); /* oklch */ color: oklch(57.0% 0.198 277.8);
Tailwind
colors: {
custom: {
50: '#9a8ff0',
500: '#6162e8',
950: '#000000',
},
}SCSS
$custom: #6162e8; $custom-light: #9a8ff0; $custom-dark: #000000;
JSON
{
"hex": "#6162e8",
"rgb": {
"r": 97,
"g": 98,
"b": 232
},
"hsl": {
"h": 239.556,
"s": 74.586,
"l": 64.51
},
"oklch": {
"l": 0.57034,
"c": 0.19774,
"h": 277.8
},
"luminance": 0.17103
}Semantic roles & 50–950 ramp
primary
#6162E8
secondary
#EAE9BB
accent
#D50FD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85