#604EF2#604EF2
#604EF2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.6% C 0.234 H 280.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #604EF2 |
|---|---|
| RGB | rgb(96, 78, 242) |
| HSL | hsl(247, 86%, 63%) |
| HSV | hsv(247, 68%, 95%) |
| CMYK | cmyk(60.3%, 67.8%, 0%, 5.1%) |
| CIE-LAB | lab(44.72, 52.39, -79.83) |
| CIE-LCH | lch(44.72, 95.49, 303.28°) |
| OKLab | oklab(54.58% 0.0416 -0.2301) |
| OKLCH | oklch(54.58% 0.234 280.3) |
| XYZ | xyz(23.5702, 14.3446, 85.5139) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.34
Bluish Purple
#703BE7
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.64
Electric Blue
#0652FF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604EF2 #E0F24E
analogous
#4E8EF2 #604EF2 #B24EF2
triadic
#604EF2 #F2604E #4EF260
tetradic
#604EF2 #F24E8E #E0F24E #4EF2B2
square
#604EF2 #F24E8E #E0F24E #4EF2B2
split-complementary
#604EF2 #F2B24E #8EF24E
monochromatic
#200EB8 #2D15EE #604EF2 #9387F6 #C6C0FA
Accessibility & contrast
On white
5.43
#604EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#604EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604EF2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604EF2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#00799A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #604ef2; /* rgb */ color: rgb(96, 78, 242); /* oklch */ color: oklch(54.6% 0.234 280.3);
Tailwind
colors: {
custom: {
50: '#9c81f8',
500: '#604ef2',
950: '#000000',
},
}SCSS
$custom: #604ef2; $custom-light: #9c81f8; $custom-dark: #000000;
JSON
{
"hex": "#604ef2",
"rgb": {
"r": 96,
"g": 78,
"b": 242
},
"hsl": {
"h": 246.585,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.54584,
"c": 0.23383,
"h": 280.3
},
"luminance": 0.14346
}Semantic roles & 50–950 ramp
primary
#604EF2
secondary
#E5ECB0
accent
#E303CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85