#604ED5#604ED5
#604ED5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.2% C 0.198 H 283.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #604ED5 |
|---|---|
| RGB | rgb(96, 78, 213) |
| HSL | hsl(248, 62%, 57%) |
| HSV | hsv(248, 63%, 84%) |
| CMYK | cmyk(54.9%, 63.4%, 0%, 16.5%) |
| CIE-LAB | lab(42.37, 43.59, -67.22) |
| CIE-LCH | lch(42.37, 80.12, 302.96°) |
| OKLab | oklab(52.15% 0.0451 -0.1931) |
| OKLCH | oklch(52.15% 0.198 283.2) |
| XYZ | xyz(19.5548, 12.7385, 64.3662) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.74
Slate Blue
#6A5ACD
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.07
Purpleish Blue
#6140EF
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604ED5 #C3D54E
analogous
#4E80D5 #604ED5 #A44ED5
triadic
#604ED5 #D5604E #4ED560
tetradic
#604ED5 #D54E80 #C3D54E #4ED5A4
square
#604ED5 #D54E80 #C3D54E #4ED5A4
split-complementary
#604ED5 #D5A44E #80D54E
monochromatic
#2E2088 #3F2CBA #604ED5 #8C7FE1 #B9B1EC
Accessibility & contrast
On white
5.92
#604ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#604ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604ED5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604ED5 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#296F8A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #604ed5; /* rgb */ color: rgb(96, 78, 213); /* oklch */ color: oklch(52.2% 0.198 283.2);
Tailwind
colors: {
custom: {
50: '#9781e3',
500: '#604ed5',
950: '#000000',
},
}SCSS
$custom: #604ed5; $custom-light: #9781e3; $custom-dark: #000000;
JSON
{
"hex": "#604ed5",
"rgb": {
"r": 96,
"g": 78,
"b": 213
},
"hsl": {
"h": 248,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.52152,
"c": 0.19831,
"h": 283.2
},
"luminance": 0.1274
}Semantic roles & 50–950 ramp
primary
#604ED5
secondary
#D4DBA4
accent
#E543CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84