#6165EA#6165EA
#6165EA is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.7% C 0.197 H 277.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6165EA |
|---|---|
| RGB | rgb(97, 101, 234) |
| HSL | hsl(238, 77%, 65%) |
| HSV | hsv(238, 59%, 92%) |
| CMYK | cmyk(58.5%, 56.8%, 0%, 8.2%) |
| CIE-LAB | lab(49.24, 36.71, -67.97) |
| CIE-LCH | lch(49.24, 77.25, 298.37°) |
| OKLab | oklab(57.71% 0.024 -0.1951) |
| OKLCH | oklch(57.71% 0.197 277) |
| XYZ | xyz(24.4299, 17.7875, 79.9719) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.13
Mediumslateblue
#7B68EE
ΔE00 4.41
Royal Blue
#4169E1
ΔE00 5.35
Warm Blue
#4B57DB
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6165EA #EAE661
analogous
#61AAEA #6165EA #A161EA
triadic
#6165EA #EA6165 #65EA61
tetradic
#6165EA #EA61AA #EAE661 #61EAA1
square
#6165EA #EA61AA #EAE661 #61EAA1
split-complementary
#6165EA #EAA161 #AAEA61
monochromatic
#181DB8 #2B30E3 #6165EA #979AF1 #CDCEF8
Accessibility & contrast
On white
4.61
#6165EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#6165EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6165EA
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6165EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6165EA | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6165ea; /* rgb */ color: rgb(97, 101, 234); /* oklch */ color: oklch(57.7% 0.197 277.0);
Tailwind
colors: {
custom: {
50: '#9a91f2',
500: '#6165ea',
950: '#000000',
},
}SCSS
$custom: #6165ea; $custom-light: #9a91f2; $custom-dark: #000000;
JSON
{
"hex": "#6165ea",
"rgb": {
"r": 97,
"g": 101,
"b": 234
},
"hsl": {
"h": 238.248,
"s": 76.536,
"l": 64.902
},
"oklch": {
"l": 0.57708,
"c": 0.19661,
"h": 277
},
"luminance": 0.17789
}Semantic roles & 50–950 ramp
primary
#6165EA
secondary
#EBE9BC
accent
#D30DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85