#6154CF#6154CF
#6154CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.183 H 282.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6154CF |
|---|---|
| RGB | rgb(97, 84, 207) |
| HSL | hsl(246, 56%, 57%) |
| HSV | hsv(246, 59%, 81%) |
| CMYK | cmyk(53.1%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.34, 38.41, -62.19) |
| CIE-LCH | lch(43.34, 73.10, 301.70°) |
| OKLab | oklab(52.74% 0.0409 -0.1782) |
| OKLCH | oklch(52.74% 0.183 282.9) |
| XYZ | xyz(19.3591, 13.3859, 60.5830) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.01
Slate Blue
#6A5ACD
ΔE00 2.27
Light Indigo
#6D5ACF
ΔE00 2.62
Dark Periwinkle
#665FD1
ΔE00 3.40
Warm Blue
#4B57DB
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6154CF #C2CF54
analogous
#5485CF #6154CF #9E54CF
triadic
#6154CF #CF6154 #54CF61
tetradic
#6154CF #CF5485 #C2CF54 #54CF9E
square
#6154CF #CF5485 #C2CF54 #54CF9E
split-complementary
#6154CF #CF9E54 #85CF54
monochromatic
#2F2584 #4032B3 #6154CF #8D84DC #B9B4EA
Accessibility & contrast
On white
5.71
#6154CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6154CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6154CF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6154CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6154CF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#327189
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6154cf; /* rgb */ color: rgb(97, 84, 207); /* oklch */ color: oklch(52.7% 0.183 282.9);
Tailwind
colors: {
custom: {
50: '#9785de',
500: '#6154cf',
950: '#000000',
},
}SCSS
$custom: #6154cf; $custom-light: #9785de; $custom-dark: #000000;
JSON
{
"hex": "#6154cf",
"rgb": {
"r": 97,
"g": 84,
"b": 207
},
"hsl": {
"h": 246.341,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.52743,
"c": 0.18289,
"h": 282.9
},
"luminance": 0.13387
}Semantic roles & 50–950 ramp
primary
#6154CF
secondary
#D3D8A6
accent
#DF48CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83