#604ED4#604ED4
#604ED4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.1% C 0.197 H 283.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #604ED4 |
|---|---|
| RGB | rgb(96, 78, 212) |
| HSL | hsl(248, 61%, 57%) |
| HSV | hsv(248, 63%, 83%) |
| CMYK | cmyk(54.7%, 63.2%, 0%, 16.9%) |
| CIE-LAB | lab(42.29, 43.29, -66.77) |
| CIE-LCH | lch(42.29, 79.58, 302.95°) |
| OKLab | oklab(52.07% 0.0452 -0.1918) |
| OKLCH | oklch(52.07% 0.197 283.3) |
| XYZ | xyz(19.4283, 12.6879, 63.6998) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 3.96
Bluey Purple
#6241C7
ΔE00 4.00
Purpleish Blue
#6140EF
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604ED4 #C2D44E
analogous
#4E7FD4 #604ED4 #A34ED4
triadic
#604ED4 #D4604E #4ED460
tetradic
#604ED4 #D44E7F #C2D44E #4ED4A3
square
#604ED4 #D44E7F #C2D44E #4ED4A3
split-complementary
#604ED4 #D4A34E #7FD44E
monochromatic
#2E2187 #3F2DB8 #604ED4 #8C7FE0 #B8B0EC
Accessibility & contrast
On white
5.94
#604ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#604ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604ED4
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604ED4 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#2A6F8A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #604ed4; /* rgb */ color: rgb(96, 78, 212); /* oklch */ color: oklch(52.1% 0.197 283.3);
Tailwind
colors: {
custom: {
50: '#9781e2',
500: '#604ed4',
950: '#000000',
},
}SCSS
$custom: #604ed4; $custom-light: #9781e2; $custom-dark: #000000;
JSON
{
"hex": "#604ed4",
"rgb": {
"r": 96,
"g": 78,
"b": 212
},
"hsl": {
"h": 248.06,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.52071,
"c": 0.19704,
"h": 283.3
},
"luminance": 0.12689
}Semantic roles & 50–950 ramp
primary
#604ED4
secondary
#D3DAA4
accent
#E444CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84