#604ED6#604ED6
#604ED6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.2% C 0.200 H 283.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #604ED6 |
|---|---|
| RGB | rgb(96, 78, 214) |
| HSL | hsl(248, 62%, 57%) |
| HSV | hsv(248, 64%, 84%) |
| CMYK | cmyk(55.1%, 63.6%, 0%, 16.1%) |
| CIE-LAB | lab(42.44, 43.90, -67.67) |
| CIE-LCH | lch(42.44, 80.66, 302.97°) |
| OKLab | oklab(52.23% 0.045 -0.1944) |
| OKLCH | oklch(52.23% 0.2 283) |
| XYZ | xyz(19.6821, 12.7894, 65.0368) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 3.99
Bluey Purple
#6241C7
ΔE00 4.14
Purpleish Blue
#6140EF
ΔE00 4.17
Warm Blue
#4B57DB
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604ED6 #C4D64E
analogous
#4E80D6 #604ED6 #A44ED6
triadic
#604ED6 #D6604E #4ED660
tetradic
#604ED6 #D64E80 #C4D64E #4ED6A4
square
#604ED6 #D64E80 #C4D64E #4ED6A4
split-complementary
#604ED6 #D6A44E #80D64E
monochromatic
#2E208A #3E2BBB #604ED6 #8D80E2 #B9B1ED
Accessibility & contrast
On white
5.90
#604ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#604ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604ED6
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604ED6 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#28708B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #604ed6; /* rgb */ color: rgb(96, 78, 214); /* oklch */ color: oklch(52.2% 0.200 283.0);
Tailwind
colors: {
custom: {
50: '#9881e4',
500: '#604ed6',
950: '#000000',
},
}SCSS
$custom: #604ed6; $custom-light: #9881e4; $custom-dark: #000000;
JSON
{
"hex": "#604ed6",
"rgb": {
"r": 96,
"g": 78,
"b": 214
},
"hsl": {
"h": 247.941,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.52233,
"c": 0.19956,
"h": 283
},
"luminance": 0.12791
}Semantic roles & 50–950 ramp
primary
#604ED6
secondary
#D4DBA4
accent
#E542D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84