#6154DC#6154DC
#6154DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.8% C 0.200 H 281.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #6154DC |
|---|---|
| RGB | rgb(97, 84, 220) |
| HSL | hsl(246, 66%, 60%) |
| HSV | hsv(246, 62%, 86%) |
| CMYK | cmyk(55.9%, 61.8%, 0%, 13.7%) |
| CIE-LAB | lab(44.30, 42.42, -68.07) |
| CIE-LCH | lch(44.30, 80.20, 301.93°) |
| OKLab | oklab(53.75% 0.0403 -0.1955) |
| OKLCH | oklch(53.75% 0.2 281.6) |
| XYZ | xyz(21.0143, 14.0480, 69.3005) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 3.44
Iris
#6258C4
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 3.57
Purpleish Blue
#6140EF
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6154DC #CFDC54
analogous
#548BDC #6154DC #A554DC
triadic
#6154DC #DC6154 #54DC61
tetradic
#6154DC #DC548B #CFDC54 #54DCA5
square
#6154DC #DC548B #CFDC54 #54DCA5
split-complementary
#6154DC #DCA554 #8BDC54
monochromatic
#2A1F97 #3929CA #6154DC #9087E6 #BFBAF1
Accessibility & contrast
On white
5.51
#6154DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#6154DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6154DC
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6154DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6154DC | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#217590
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6154dc; /* rgb */ color: rgb(97, 84, 220); /* oklch */ color: oklch(53.8% 0.200 281.6);
Tailwind
colors: {
custom: {
50: '#9985e8',
500: '#6154dc',
950: '#000000',
},
}SCSS
$custom: #6154dc; $custom-light: #9985e8; $custom-dark: #000000;
JSON
{
"hex": "#6154dc",
"rgb": {
"r": 97,
"g": 84,
"b": 220
},
"hsl": {
"h": 245.735,
"s": 66.019,
"l": 59.608
},
"oklch": {
"l": 0.53751,
"c": 0.19964,
"h": 281.6
},
"luminance": 0.14049
}Semantic roles & 50–950 ramp
primary
#6154DC
secondary
#DBE0AC
accent
#E93FD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84