#6152CF#6152CF
#6152CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.185 H 283.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6152CF |
|---|---|
| RGB | rgb(97, 82, 207) |
| HSL | hsl(247, 57%, 57%) |
| HSV | hsv(247, 60%, 81%) |
| CMYK | cmyk(53.1%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.88, 39.60, -62.93) |
| CIE-LCH | lch(42.88, 74.35, 302.18°) |
| OKLab | oklab(52.41% 0.043 -0.1804) |
| OKLCH | oklch(52.41% 0.185 283.4) |
| XYZ | xyz(19.2061, 13.0799, 60.5320) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.40
Slate Blue
#6A5ACD
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.97
Warm Blue
#4B57DB
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152CF #C0CF52
analogous
#5282CF #6152CF #A052CF
triadic
#6152CF #CF6152 #52CF61
tetradic
#6152CF #CF5282 #C0CF52 #52CFA0
square
#6152CF #CF5282 #C0CF52 #52CFA0
split-complementary
#6152CF #CFA052 #82CF52
monochromatic
#2F2482 #4131B2 #6152CF #8D82DC #B9B2EA
Accessibility & contrast
On white
5.81
#6152CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6152CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152CF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152CF | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#327089
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6152cf; /* rgb */ color: rgb(97, 82, 207); /* oklch */ color: oklch(52.4% 0.185 283.4);
Tailwind
colors: {
custom: {
50: '#9783df',
500: '#6152cf',
950: '#000000',
},
}SCSS
$custom: #6152cf; $custom-light: #9783df; $custom-dark: #000000;
JSON
{
"hex": "#6152cf",
"rgb": {
"r": 97,
"g": 82,
"b": 207
},
"hsl": {
"h": 247.2,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52408,
"c": 0.18548,
"h": 283.4
},
"luminance": 0.13081
}Semantic roles & 50–950 ramp
primary
#6152CF
secondary
#D2D8A5
accent
#E048CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83