#604FC7#604FC7
#604FC7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.179 H 284.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #604FC7 |
|---|---|
| RGB | rgb(96, 79, 199) |
| HSL | hsl(249, 52%, 55%) |
| HSV | hsv(249, 60%, 78%) |
| CMYK | cmyk(51.8%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(41.53, 38.74, -60.50) |
| CIE-LCH | lch(41.53, 71.84, 302.63°) |
| OKLab | oklab(51.21% 0.0451 -0.1733) |
| OKLCH | oklch(51.21% 0.179 284.6) |
| XYZ | xyz(17.9256, 12.2013, 55.4323) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FC7 #B6C74F
analogous
#4F7AC7 #604FC7 #9C4FC7
triadic
#604FC7 #C7604F #4FC760
tetradic
#604FC7 #C74F7A #B6C74F #4FC79C
square
#604FC7 #C74F7A #B6C74F #4FC79C
split-complementary
#604FC7 #C79C4F #7AC74F
monochromatic
#312676 #4434A4 #604FC7 #8A7DD6 #B4ACE5
Accessibility & contrast
On white
6.10
#604FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#604FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FC7
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FC7 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#376B83
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #604fc7; /* rgb */ color: rgb(96, 79, 199); /* oklch */ color: oklch(51.2% 0.179 284.6);
Tailwind
colors: {
custom: {
50: '#9581d9',
500: '#604fc7',
950: '#000000',
},
}SCSS
$custom: #604fc7; $custom-light: #9581d9; $custom-dark: #000000;
JSON
{
"hex": "#604fc7",
"rgb": {
"r": 96,
"g": 79,
"b": 199
},
"hsl": {
"h": 248.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.51213,
"c": 0.1791,
"h": 284.6
},
"luminance": 0.12202
}Semantic roles & 50–950 ramp
primary
#604FC7
secondary
#CBD2A0
accent
#DB4DC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83