#6156DE#6156DE
#6156DE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.200 H 281.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6156DE |
|---|---|
| RGB | rgb(97, 86, 222) |
| HSL | hsl(245, 67%, 60%) |
| HSV | hsv(245, 61%, 87%) |
| CMYK | cmyk(56.3%, 61.3%, 0%, 12.9%) |
| CIE-LAB | lab(44.90, 41.86, -68.24) |
| CIE-LCH | lch(44.90, 80.05, 301.53°) |
| OKLab | oklab(54.24% 0.0383 -0.196) |
| OKLCH | oklch(54.24% 0.2 281.1) |
| XYZ | xyz(21.4383, 14.4695, 70.7563) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.93
Light Indigo
#6D5ACF
ΔE00 3.01
Dark Periwinkle
#665FD1
ΔE00 3.19
Warm Blue
#4B57DB
ΔE00 3.31
Iris
#6258C4
ΔE00 3.70
Purpleish Blue
#6140EF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156DE #D3DE56
analogous
#568FDE #6156DE #A556DE
triadic
#6156DE #DE6156 #56DE61
tetradic
#6156DE #DE568F #D3DE56 #56DEA5
square
#6156DE #DE568F #D3DE56 #56DEA5
split-complementary
#6156DE #DEA556 #8FDE56
monochromatic
#281E9B #3628CE #6156DE #9189E8 #C1BCF2
Accessibility & contrast
On white
5.39
#6156DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6156DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156DE
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156DE | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#1D7792
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6156de; /* rgb */ color: rgb(97, 86, 222); /* oklch */ color: oklch(54.2% 0.200 281.1);
Tailwind
colors: {
custom: {
50: '#9986e9',
500: '#6156de',
950: '#000000',
},
}SCSS
$custom: #6156de; $custom-light: #9986e9; $custom-dark: #000000;
JSON
{
"hex": "#6156de",
"rgb": {
"r": 97,
"g": 86,
"b": 222
},
"hsl": {
"h": 244.853,
"s": 67.327,
"l": 60.392
},
"oklch": {
"l": 0.54235,
"c": 0.19972,
"h": 281.1
},
"luminance": 0.14471
}Semantic roles & 50–950 ramp
primary
#6156DE
secondary
#DEE2AE
accent
#CF16C0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84