#604FCC#604FCC
#604FCC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.6% C 0.186 H 284.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #604FCC |
|---|---|
| RGB | rgb(96, 79, 204) |
| HSL | hsl(248, 55%, 55%) |
| HSV | hsv(248, 61%, 80%) |
| CMYK | cmyk(52.9%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(41.90, 40.27, -62.79) |
| CIE-LCH | lch(41.90, 74.60, 302.67°) |
| OKLab | oklab(51.6% 0.0448 -0.1801) |
| OKLCH | oklch(51.6% 0.186 284) |
| XYZ | xyz(18.5156, 12.4374, 58.5400) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 3.77
Bluey Purple
#6241C7
ΔE00 3.86
Warm Blue
#4B57DB
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FCC #BBCC4F
analogous
#4F7CCC #604FCC #9E4FCC
triadic
#604FCC #CC604F #4FCC60
tetradic
#604FCC #CC4F7C #BBCC4F #4FCC9E
square
#604FCC #CC4F7C #BBCC4F #4FCC9E
split-complementary
#604FCC #CC9E4F #7CCC4F
monochromatic
#30247D #4232AC #604FCC #8B7EDA #B6AEE7
Accessibility & contrast
On white
6.02
#604FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#604FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FCC
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FCC | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#336D86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #604fcc; /* rgb */ color: rgb(96, 79, 204); /* oklch */ color: oklch(51.6% 0.186 284.0);
Tailwind
colors: {
custom: {
50: '#9681dc',
500: '#604fcc',
950: '#000000',
},
}SCSS
$custom: #604fcc; $custom-light: #9681dc; $custom-dark: #000000;
JSON
{
"hex": "#604fcc",
"rgb": {
"r": 96,
"g": 79,
"b": 204
},
"hsl": {
"h": 248.16,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.51599,
"c": 0.18558,
"h": 284
},
"luminance": 0.12438
}Semantic roles & 50–950 ramp
primary
#604FCC
secondary
#CED5A1
accent
#DE49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83