#6165E9#6165E9
#6165E9 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.6% C 0.195 H 277.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6165E9 |
|---|---|
| RGB | rgb(97, 101, 233) |
| HSL | hsl(238, 76%, 65%) |
| HSV | hsv(238, 58%, 91%) |
| CMYK | cmyk(58.4%, 56.7%, 0%, 8.6%) |
| CIE-LAB | lab(49.17, 36.39, -67.52) |
| CIE-LCH | lch(49.17, 76.70, 298.32°) |
| OKLab | oklab(57.63% 0.024 -0.1938) |
| OKLCH | oklch(57.63% 0.195 277) |
| XYZ | xyz(24.2867, 17.7302, 79.2174) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.02
Mediumslateblue
#7B68EE
ΔE00 4.45
Royal Blue
#4169E1
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 5.67
Slate Blue
#6A5ACD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6165E9 #E9E561
analogous
#61A9E9 #6165E9 #A161E9
triadic
#6165E9 #E96165 #65E961
tetradic
#6165E9 #E961A9 #E9E561 #61E9A1
square
#6165E9 #E961A9 #E9E561 #61E9A1
split-complementary
#6165E9 #E9A161 #A9E961
monochromatic
#191EB6 #2B31E2 #6165E9 #9799F0 #CCCEF8
Accessibility & contrast
On white
4.62
#6165E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#6165E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6165E9
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6165E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6165E9 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6165e9; /* rgb */ color: rgb(97, 101, 233); /* oklch */ color: oklch(57.6% 0.195 277.0);
Tailwind
colors: {
custom: {
50: '#9a91f1',
500: '#6165e9',
950: '#000000',
},
}SCSS
$custom: #6165e9; $custom-light: #9a91f1; $custom-dark: #000000;
JSON
{
"hex": "#6165e9",
"rgb": {
"r": 97,
"g": 101,
"b": 233
},
"hsl": {
"h": 238.235,
"s": 75.556,
"l": 64.706
},
"oklch": {
"l": 0.57634,
"c": 0.1953,
"h": 277
},
"luminance": 0.17732
}Semantic roles & 50–950 ramp
primary
#6165E9
secondary
#EAE9BC
accent
#D20ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85