#6154C8#6154C8
#6154C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.174 H 283.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6154C8 |
|---|---|
| RGB | rgb(97, 84, 200) |
| HSL | hsl(247, 51%, 56%) |
| HSV | hsv(247, 58%, 78%) |
| CMYK | cmyk(51.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(42.84, 36.26, -58.96) |
| CIE-LCH | lch(42.84, 69.22, 301.59°) |
| OKLab | oklab(52.22% 0.0411 -0.1687) |
| OKLCH | oklch(52.22% 0.174 283.7) |
| XYZ | xyz(18.5223, 13.0512, 56.1755) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.37
Slate Blue
#6A5ACD
ΔE00 2.38
Light Indigo
#6D5ACF
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 3.66
Warm Blue
#4B57DB
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6154C8 #BBC854
analogous
#5481C8 #6154C8 #9B54C8
triadic
#6154C8 #C86154 #54C861
tetradic
#6154C8 #C85481 #BBC854 #54C89B
square
#6154C8 #C85481 #BBC854 #54C89B
split-complementary
#6154C8 #C89B54 #81C854
monochromatic
#31277A #4336A9 #6154C8 #8C82D7 #B7B1E6
Accessibility & contrast
On white
5.82
#6154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#6154C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6154C8
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6154C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6154C8 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#386F86
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6154c8; /* rgb */ color: rgb(97, 84, 200); /* oklch */ color: oklch(52.2% 0.174 283.7);
Tailwind
colors: {
custom: {
50: '#9684d9',
500: '#6154c8',
950: '#000000',
},
}SCSS
$custom: #6154c8; $custom-light: #9684d9; $custom-dark: #000000;
JSON
{
"hex": "#6154c8",
"rgb": {
"r": 97,
"g": 84,
"b": 200
},
"hsl": {
"h": 246.724,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.52217,
"c": 0.17368,
"h": 283.7
},
"luminance": 0.13052
}Semantic roles & 50–950 ramp
primary
#6154C8
secondary
#CFD4A4
accent
#DB4DCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83