#604FC4#604FC4
#604FC4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.175 H 285.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #604FC4 |
|---|---|
| RGB | rgb(96, 79, 196) |
| HSL | hsl(249, 50%, 54%) |
| HSV | hsv(249, 60%, 77%) |
| CMYK | cmyk(51%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(41.32, 37.83, -59.11) |
| CIE-LCH | lch(41.32, 70.18, 302.62°) |
| OKLab | oklab(50.99% 0.0452 -0.1693) |
| OKLCH | oklch(50.99% 0.175 285) |
| XYZ | xyz(17.5807, 12.0634, 53.6160) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 4.78
Dark Periwinkle
#665FD1
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FC4 #B3C44F
analogous
#4F79C4 #604FC4 #9B4FC4
triadic
#604FC4 #C4604F #4FC460
tetradic
#604FC4 #C44F79 #B3C44F #4FC49B
square
#604FC4 #C44F79 #B3C44F #4FC49B
split-complementary
#604FC4 #C49B4F #79C44F
monochromatic
#312672 #4536A0 #604FC4 #897DD3 #B3ABE3
Accessibility & contrast
On white
6.15
#604FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#604FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FC4
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FC4 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#3A6A82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #604fc4; /* rgb */ color: rgb(96, 79, 196); /* oklch */ color: oklch(51.0% 0.175 285.0);
Tailwind
colors: {
custom: {
50: '#9581d7',
500: '#604fc4',
950: '#000000',
},
}SCSS
$custom: #604fc4; $custom-light: #9581d7; $custom-dark: #000000;
JSON
{
"hex": "#604fc4",
"rgb": {
"r": 96,
"g": 79,
"b": 196
},
"hsl": {
"h": 248.718,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.50985,
"c": 0.17519,
"h": 285
},
"luminance": 0.12064
}Semantic roles & 50–950 ramp
primary
#604FC4
secondary
#C9D09E
accent
#D94EC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83