#604FC5#604FC5
#604FC5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.176 H 284.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #604FC5 |
|---|---|
| RGB | rgb(96, 79, 197) |
| HSL | hsl(249, 50%, 54%) |
| HSV | hsv(249, 60%, 77%) |
| CMYK | cmyk(51.3%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(41.39, 38.13, -59.58) |
| CIE-LCH | lch(41.39, 70.73, 302.62°) |
| OKLab | oklab(51.06% 0.0452 -0.1706) |
| OKLCH | oklch(51.06% 0.177 284.8) |
| XYZ | xyz(17.6949, 12.1091, 54.2174) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.71
Bluey Purple
#6241C7
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FC5 #B4C54F
analogous
#4F79C5 #604FC5 #9B4FC5
triadic
#604FC5 #C5604F #4FC560
tetradic
#604FC5 #C54F79 #B4C54F #4FC59B
square
#604FC5 #C54F79 #B4C54F #4FC59B
split-complementary
#604FC5 #C59B4F #79C54F
monochromatic
#312674 #4535A2 #604FC5 #8A7DD4 #B3ABE3
Accessibility & contrast
On white
6.14
#604FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#604FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FC5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FC5 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#396B82
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #604fc5; /* rgb */ color: rgb(96, 79, 197); /* oklch */ color: oklch(51.1% 0.176 284.8);
Tailwind
colors: {
custom: {
50: '#9581d7',
500: '#604fc5',
950: '#000000',
},
}SCSS
$custom: #604fc5; $custom-light: #9581d7; $custom-dark: #000000;
JSON
{
"hex": "#604fc5",
"rgb": {
"r": 96,
"g": 79,
"b": 197
},
"hsl": {
"h": 248.644,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.51061,
"c": 0.1765,
"h": 284.8
},
"luminance": 0.1211
}Semantic roles & 50–950 ramp
primary
#604FC5
secondary
#CAD19F
accent
#DA4EC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83