#604FC2#604FC2
#604FC2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.173 H 285.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #604FC2 |
|---|---|
| RGB | rgb(96, 79, 194) |
| HSL | hsl(249, 49%, 54%) |
| HSV | hsv(249, 59%, 76%) |
| CMYK | cmyk(50.5%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(41.17, 37.22, -58.18) |
| CIE-LCH | lch(41.17, 69.07, 302.61°) |
| OKLab | oklab(50.83% 0.0453 -0.1665) |
| OKLCH | oklch(50.83% 0.173 285.2) |
| XYZ | xyz(17.3546, 11.9729, 52.4250) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.73
Bluey Purple
#6241C7
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.21
Ocean Blue
#4F42B5
ΔE00 4.66
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FC2 #B1C24F
analogous
#4F77C2 #604FC2 #994FC2
triadic
#604FC2 #C2604F #4FC260
tetradic
#604FC2 #C24F77 #B1C24F #4FC299
square
#604FC2 #C24F77 #B1C24F #4FC299
split-complementary
#604FC2 #C2994F #77C24F
monochromatic
#322770 #46379D #604FC2 #897CD2 #B2AAE2
Accessibility & contrast
On white
6.19
#604FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#604FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FC2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FC2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#3B6A81
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #604fc2; /* rgb */ color: rgb(96, 79, 194); /* oklch */ color: oklch(50.8% 0.173 285.2);
Tailwind
colors: {
custom: {
50: '#9581d5',
500: '#604fc2',
950: '#000000',
},
}SCSS
$custom: #604fc2; $custom-light: #9581d5; $custom-dark: #000000;
JSON
{
"hex": "#604fc2",
"rgb": {
"r": 96,
"g": 79,
"b": 194
},
"hsl": {
"h": 248.87,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.50834,
"c": 0.17256,
"h": 285.2
},
"luminance": 0.11974
}Semantic roles & 50–950 ramp
primary
#604FC2
secondary
#C8CF9E
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83