#604ED2#604ED2
#604ED2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.9% C 0.195 H 283.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #604ED2 |
|---|---|
| RGB | rgb(96, 78, 210) |
| HSL | hsl(248, 59%, 56%) |
| HSV | hsv(248, 63%, 82%) |
| CMYK | cmyk(54.3%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(42.14, 42.68, -65.87) |
| CIE-LCH | lch(42.14, 78.49, 302.94°) |
| OKLab | oklab(51.91% 0.0454 -0.1891) |
| OKLCH | oklch(51.91% 0.195 283.5) |
| XYZ | xyz(19.1776, 12.5876, 62.3794) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604ED2 #C0D24E
analogous
#4E7ED2 #604ED2 #A24ED2
triadic
#604ED2 #D2604E #4ED260
tetradic
#604ED2 #D24E7E #C0D24E #4ED2A2
square
#604ED2 #D24E7E #C0D24E #4ED2A2
split-complementary
#604ED2 #D2A24E #7ED24E
monochromatic
#2F2284 #402EB5 #604ED2 #8C7FDE #B8B0EB
Accessibility & contrast
On white
5.97
#604ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#604ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604ED2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604ED2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#2D6E89
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #604ed2; /* rgb */ color: rgb(96, 78, 210); /* oklch */ color: oklch(51.9% 0.195 283.5);
Tailwind
colors: {
custom: {
50: '#9780e1',
500: '#604ed2',
950: '#000000',
},
}SCSS
$custom: #604ed2; $custom-light: #9780e1; $custom-dark: #000000;
JSON
{
"hex": "#604ed2",
"rgb": {
"r": 96,
"g": 78,
"b": 210
},
"hsl": {
"h": 248.182,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.51911,
"c": 0.19451,
"h": 283.5
},
"luminance": 0.12589
}Semantic roles & 50–950 ramp
primary
#604ED2
secondary
#D2D9A3
accent
#E345CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83