#6156EF#6156EF
#6156EF is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.221 H 279.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6156EF |
|---|---|
| RGB | rgb(97, 86, 239) |
| HSL | hsl(244, 83%, 64%) |
| HSV | hsv(244, 64%, 94%) |
| CMYK | cmyk(59.4%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(46.21, 47.13, -75.70) |
| CIE-LCH | lch(46.21, 89.17, 301.91°) |
| OKLab | oklab(55.6% 0.037 -0.2179) |
| OKLCH | oklch(55.6% 0.221 279.6) |
| XYZ | xyz(23.8326, 15.4272, 83.3665) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.35
Dark Periwinkle
#665FD1
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 4.74
Purpleish Blue
#6140EF
ΔE00 5.36
Iris
#6258C4
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156EF #E4EF56
analogous
#5697EF #6156EF #AD56EF
triadic
#6156EF #EF6156 #56EF61
tetradic
#6156EF #EF5697 #E4EF56 #56EFAD
square
#6156EF #EF5697 #E4EF56 #56EFAD
split-complementary
#6156EF #EFAD56 #97EF56
monochromatic
#1E12B9 #2D1EEA #6156EF #958EF4 #CAC6FA
Accessibility & contrast
On white
5.14
#6156EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#6156EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156EF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156EF | 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)
#0073F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6156ef; /* rgb */ color: rgb(97, 86, 239); /* oklch */ color: oklch(55.6% 0.221 279.6);
Tailwind
colors: {
custom: {
50: '#9c86f5',
500: '#6156ef',
950: '#000000',
},
}SCSS
$custom: #6156ef; $custom-light: #9c86f5; $custom-dark: #000000;
JSON
{
"hex": "#6156ef",
"rgb": {
"r": 97,
"g": 86,
"b": 239
},
"hsl": {
"h": 244.314,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.55604,
"c": 0.22106,
"h": 279.6
},
"luminance": 0.15429
}Semantic roles & 50–950 ramp
primary
#6156EF
secondary
#E7EBB5
accent
#DF06D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85