#6152CB#6152CB
#6152CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.180 H 283.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6152CB |
|---|---|
| RGB | rgb(97, 82, 203) |
| HSL | hsl(247, 54%, 56%) |
| HSV | hsv(247, 60%, 80%) |
| CMYK | cmyk(52.2%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.59, 38.38, -61.10) |
| CIE-LCH | lch(42.59, 72.15, 302.13°) |
| OKLab | oklab(52.1% 0.0431 -0.175) |
| OKLCH | oklch(52.1% 0.18 283.8) |
| XYZ | xyz(18.7233, 12.8867, 57.9891) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.09
Slate Blue
#6A5ACD
ΔE00 2.73
Light Indigo
#6D5ACF
ΔE00 3.07
Dark Periwinkle
#665FD1
ΔE00 4.08
Warm Blue
#4B57DB
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152CB #BCCB52
analogous
#527FCB #6152CB #9D52CB
triadic
#6152CB #CB6152 #52CB61
tetradic
#6152CB #CB527F #BCCB52 #52CB9D
square
#6152CB #CB527F #BCCB52 #52CB9D
split-complementary
#6152CB #CB9D52 #7FCB52
monochromatic
#30267D #4334AC #6152CB #8C81D9 #B7B0E7
Accessibility & contrast
On white
5.87
#6152CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6152CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152CB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152CB | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#366E87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6152cb; /* rgb */ color: rgb(97, 82, 203); /* oklch */ color: oklch(52.1% 0.180 283.8);
Tailwind
colors: {
custom: {
50: '#9683dc',
500: '#6152cb',
950: '#000000',
},
}SCSS
$custom: #6152cb; $custom-light: #9683dc; $custom-dark: #000000;
JSON
{
"hex": "#6152cb",
"rgb": {
"r": 97,
"g": 82,
"b": 203
},
"hsl": {
"h": 247.438,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.52102,
"c": 0.18027,
"h": 283.8
},
"luminance": 0.12888
}Semantic roles & 50–950 ramp
primary
#6152CB
secondary
#CFD5A3
accent
#DD4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83