#604FC6#604FC6
#604FC6 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.178 H 284.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #604FC6 |
|---|---|
| RGB | rgb(96, 79, 198) |
| HSL | hsl(249, 51%, 54%) |
| HSV | hsv(249, 60%, 78%) |
| CMYK | cmyk(51.5%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(41.46, 38.44, -60.04) |
| CIE-LCH | lch(41.46, 71.29, 302.63°) |
| OKLab | oklab(51.14% 0.0452 -0.172) |
| OKLCH | oklch(51.14% 0.178 284.7) |
| XYZ | xyz(17.8098, 12.1550, 54.8228) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FC6 #B5C64F
analogous
#4F7AC6 #604FC6 #9B4FC6
triadic
#604FC6 #C6604F #4FC660
tetradic
#604FC6 #C64F7A #B5C64F #4FC69B
square
#604FC6 #C64F7A #B5C64F #4FC69B
split-complementary
#604FC6 #C69B4F #7AC64F
monochromatic
#312675 #4535A3 #604FC6 #8A7DD5 #B4ABE4
Accessibility & contrast
On white
6.12
#604FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#604FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FC6
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FC6 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#386B83
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #604fc6; /* rgb */ color: rgb(96, 79, 198); /* oklch */ color: oklch(51.1% 0.178 284.7);
Tailwind
colors: {
custom: {
50: '#9581d8',
500: '#604fc6',
950: '#000000',
},
}SCSS
$custom: #604fc6; $custom-light: #9581d8; $custom-dark: #000000;
JSON
{
"hex": "#604fc6",
"rgb": {
"r": 96,
"g": 79,
"b": 198
},
"hsl": {
"h": 248.571,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.51137,
"c": 0.17781,
"h": 284.7
},
"luminance": 0.12156
}Semantic roles & 50–950 ramp
primary
#604FC6
secondary
#CAD29F
accent
#DB4DC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83