#604FE2#604FE2
#604FE2 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.213 H 281.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #604FE2 |
|---|---|
| RGB | rgb(96, 79, 226) |
| HSL | hsl(247, 72%, 60%) |
| HSV | hsv(247, 65%, 89%) |
| CMYK | cmyk(57.5%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(43.61, 46.98, -72.62) |
| CIE-LCH | lch(43.61, 86.49, 302.90°) |
| OKLab | oklab(53.37% 0.0429 -0.2089) |
| OKLCH | oklch(53.37% 0.213 281.6) |
| XYZ | xyz(21.3430, 13.5683, 73.4310) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.58
Warm Blue
#4B57DB
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.27
Iris
#6258C4
ΔE00 4.76
Bluish Purple
#703BE7
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FE2 #D1E24F
analogous
#4F87E2 #604FE2 #AA4FE2
triadic
#604FE2 #E2604F #4FE260
tetradic
#604FE2 #E24F87 #D1E24F #4FE2AA
square
#604FE2 #E24F87 #D1E24F #4FE2AA
split-complementary
#604FE2 #E2AA4F #87E24F
monochromatic
#291A9D #3722D1 #604FE2 #8F84EB #BFB8F3
Accessibility & contrast
On white
5.65
#604FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#604FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FE2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FE2 | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#0F7492
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #604fe2; /* rgb */ color: rgb(96, 79, 226); /* oklch */ color: oklch(53.4% 0.213 281.6);
Tailwind
colors: {
custom: {
50: '#9982ec',
500: '#604fe2',
950: '#000000',
},
}SCSS
$custom: #604fe2; $custom-light: #9982ec; $custom-dark: #000000;
JSON
{
"hex": "#604fe2",
"rgb": {
"r": 96,
"g": 79,
"b": 226
},
"hsl": {
"h": 246.939,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.53372,
"c": 0.2133,
"h": 281.6
},
"luminance": 0.1357
}Semantic roles & 50–950 ramp
primary
#604FE2
secondary
#DCE3AA
accent
#EE39D9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84