#604CD4#604CD4
#604CD4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.8% C 0.199 H 283.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #604CD4 |
|---|---|
| RGB | rgb(96, 76, 212) |
| HSL | hsl(249, 61%, 56%) |
| HSV | hsv(249, 64%, 83%) |
| CMYK | cmyk(54.7%, 64.2%, 0%, 16.9%) |
| CIE-LAB | lab(41.86, 44.44, -67.48) |
| CIE-LCH | lch(41.86, 80.80, 303.37°) |
| OKLab | oklab(51.76% 0.0471 -0.1938) |
| OKLCH | oklch(51.76% 0.199 283.7) |
| XYZ | xyz(19.2883, 12.4080, 63.6532) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.52
Purpleish Blue
#6140EF
ΔE00 4.03
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CD4 #C0D44C
analogous
#4C7CD4 #604CD4 #A44CD4
triadic
#604CD4 #D4604C #4CD460
tetradic
#604CD4 #D44C7C #C0D44C #4CD4A4
square
#604CD4 #D44C7C #C0D44C #4CD4A4
split-complementary
#604CD4 #D4A44C #7CD44C
monochromatic
#2F2086 #402CB7 #604CD4 #8C7DE0 #B8AFEC
Accessibility & contrast
On white
6.03
#604CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#604CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CD4
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CD4 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#2A6E89
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #604cd4; /* rgb */ color: rgb(96, 76, 212); /* oklch */ color: oklch(51.8% 0.199 283.7);
Tailwind
colors: {
custom: {
50: '#977fe2',
500: '#604cd4',
950: '#000000',
},
}SCSS
$custom: #604cd4; $custom-light: #977fe2; $custom-dark: #000000;
JSON
{
"hex": "#604cd4",
"rgb": {
"r": 96,
"g": 76,
"b": 212
},
"hsl": {
"h": 248.824,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.51758,
"c": 0.19949,
"h": 283.7
},
"luminance": 0.12409
}Semantic roles & 50–950 ramp
primary
#604CD4
secondary
#D2DAA2
accent
#E443CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84