#6157DF#6157DF
#6157DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.5% C 0.200 H 280.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6157DF |
|---|---|
| RGB | rgb(97, 87, 223) |
| HSL | hsl(244, 68%, 61%) |
| HSV | hsv(244, 61%, 87%) |
| CMYK | cmyk(56.5%, 61%, 0%, 12.5%) |
| CIE-LAB | lab(45.20, 41.59, -68.32) |
| CIE-LCH | lch(45.20, 79.98, 301.33°) |
| OKLab | oklab(54.48% 0.0373 -0.1962) |
| OKLCH | oklch(54.48% 0.2 280.8) |
| XYZ | xyz(21.6531, 14.6841, 71.4910) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.96
Dark Periwinkle
#665FD1
ΔE00 3.03
Light Indigo
#6D5ACF
ΔE00 3.04
Warm Blue
#4B57DB
ΔE00 3.29
Iris
#6258C4
ΔE00 3.82
Purpleish Blue
#6140EF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6157DF #D5DF57
analogous
#5791DF #6157DF #A557DF
triadic
#6157DF #DF6157 #57DF61
tetradic
#6157DF #DF5791 #D5DF57 #57DFA5
square
#6157DF #DF5791 #D5DF57 #57DFA5
split-complementary
#6157DF #DFA557 #91DF57
monochromatic
#271E9E #3428D1 #6157DF #918AE9 #C2BEF3
Accessibility & contrast
On white
5.33
#6157DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#6157DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6157DF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6157DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6157DF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#1B7893
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6157df; /* rgb */ color: rgb(97, 87, 223); /* oklch */ color: oklch(54.5% 0.200 280.8);
Tailwind
colors: {
custom: {
50: '#9987ea',
500: '#6157df',
950: '#000000',
},
}SCSS
$custom: #6157df; $custom-light: #9987ea; $custom-dark: #000000;
JSON
{
"hex": "#6157df",
"rgb": {
"r": 97,
"g": 87,
"b": 223
},
"hsl": {
"h": 244.412,
"s": 68,
"l": 60.784
},
"oklch": {
"l": 0.54478,
"c": 0.19976,
"h": 280.8
},
"luminance": 0.14685
}Semantic roles & 50–950 ramp
primary
#6157DF
secondary
#DFE3AF
accent
#D016C2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84