#6156DD#6156DD
#6156DD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.2% C 0.198 H 281.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6156DD |
|---|---|
| RGB | rgb(97, 86, 221) |
| HSL | hsl(245, 67%, 60%) |
| HSV | hsv(245, 61%, 87%) |
| CMYK | cmyk(56.1%, 61.1%, 0%, 13.3%) |
| CIE-LAB | lab(44.82, 41.55, -67.79) |
| CIE-LCH | lch(44.82, 79.51, 301.51°) |
| OKLab | oklab(54.16% 0.0383 -0.1947) |
| OKLCH | oklch(54.16% 0.198 281.1) |
| XYZ | xyz(21.3046, 14.4160, 70.0525) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 3.13
Warm Blue
#4B57DB
ΔE00 3.29
Iris
#6258C4
ΔE00 3.57
Purpleish Blue
#6140EF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6156DD #D2DD56
analogous
#568EDD #6156DD #A456DD
triadic
#6156DD #DD6156 #56DD61
tetradic
#6156DD #DD568E #D2DD56 #56DDA4
square
#6156DD #DD568E #D2DD56 #56DDA4
split-complementary
#6156DD #DDA456 #8EDD56
monochromatic
#291F9A #3629CD #6156DD #9189E7 #C0BCF2
Accessibility & contrast
On white
5.41
#6156DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#6156DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6156DD
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6156DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6156DD | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#1F7791
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6156dd; /* rgb */ color: rgb(97, 86, 221); /* oklch */ color: oklch(54.2% 0.198 281.1);
Tailwind
colors: {
custom: {
50: '#9986e8',
500: '#6156dd',
950: '#000000',
},
}SCSS
$custom: #6156dd; $custom-light: #9986e8; $custom-dark: #000000;
JSON
{
"hex": "#6156dd",
"rgb": {
"r": 97,
"g": 86,
"b": 221
},
"hsl": {
"h": 244.889,
"s": 66.502,
"l": 60.196
},
"oklch": {
"l": 0.54156,
"c": 0.19845,
"h": 281.1
},
"luminance": 0.14417
}Semantic roles & 50–950 ramp
primary
#6156DD
secondary
#DDE1AE
accent
#CE17BF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84