#6156EA#6156EA
#6156EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.215 H 280.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6156EA |
|---|---|
| RGB | rgb(97, 86, 234) |
| HSL | hsl(244, 78%, 63%) |
| HSV | hsv(244, 63%, 92%) |
| CMYK | cmyk(58.5%, 63.2%, 0%, 8.2%) |
| CIE-LAB | lab(45.82, 45.58, -73.53) |
| CIE-LCH | lch(45.82, 86.51, 301.80°) |
| OKLab | oklab(55.2% 0.0374 -0.2116) |
| OKLCH | oklch(55.2% 0.215 280) |
| XYZ | xyz(23.1041, 15.1358, 79.5300) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.19
Iris
#6258C4
ΔE00 5.22
Purpleish Blue
#6140EF
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156EA #DFEA56
analogous
#5695EA #6156EA #AB56EA
triadic
#6156EA #EA6156 #56EA61
tetradic
#6156EA #EA5695 #DFEA56 #56EAAB
square
#6156EA #EA5695 #DFEA56 #56EAAB
split-complementary
#6156EA #EAAB56 #95EA56
monochromatic
#2116B0 #2E20E3 #6156EA #948CF1 #C7C3F8
Accessibility & contrast
On white
5.21
#6156EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#6156EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156EA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156EA | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6156ea; /* rgb */ color: rgb(97, 86, 234); /* oklch */ color: oklch(55.2% 0.215 280.0);
Tailwind
colors: {
custom: {
50: '#9b86f2',
500: '#6156ea',
950: '#000000',
},
}SCSS
$custom: #6156ea; $custom-light: #9b86f2; $custom-dark: #000000;
JSON
{
"hex": "#6156ea",
"rgb": {
"r": 97,
"g": 86,
"b": 234
},
"hsl": {
"h": 244.459,
"s": 77.895,
"l": 62.745
},
"oklch": {
"l": 0.55195,
"c": 0.21486,
"h": 280
},
"luminance": 0.15137
}Semantic roles & 50–950 ramp
primary
#6156EA
secondary
#E5E9B3
accent
#DA0BCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85