#604FD2#604FD2
#604FD2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.1% C 0.193 H 283.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #604FD2 |
|---|---|
| RGB | rgb(96, 79, 210) |
| HSL | hsl(248, 59%, 57%) |
| HSV | hsv(248, 62%, 82%) |
| CMYK | cmyk(54.3%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(42.35, 42.10, -65.52) |
| CIE-LCH | lch(42.35, 77.88, 302.72°) |
| OKLab | oklab(52.07% 0.0444 -0.1881) |
| OKLCH | oklch(52.07% 0.193 283.3) |
| XYZ | xyz(19.2492, 12.7308, 62.4032) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.72
Bluey Purple
#6241C7
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.26
Purpleish Blue
#6140EF
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604FD2 #C1D24F
analogous
#4F80D2 #604FD2 #A24FD2
triadic
#604FD2 #D2604F #4FD260
tetradic
#604FD2 #D24F80 #C1D24F #4FD2A2
square
#604FD2 #D24F80 #C1D24F #4FD2A2
split-complementary
#604FD2 #D2A24F #80D24F
monochromatic
#2F2285 #402EB5 #604FD2 #8C80DE #B8B0EB
Accessibility & contrast
On white
5.92
#604FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#604FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604FD2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604FD2 | 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)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#2C6F89
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #604fd2; /* rgb */ color: rgb(96, 79, 210); /* oklch */ color: oklch(52.1% 0.193 283.3);
Tailwind
colors: {
custom: {
50: '#9781e1',
500: '#604fd2',
950: '#000000',
},
}SCSS
$custom: #604fd2; $custom-light: #9781e1; $custom-dark: #000000;
JSON
{
"hex": "#604fd2",
"rgb": {
"r": 96,
"g": 79,
"b": 210
},
"hsl": {
"h": 247.786,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.52071,
"c": 0.19327,
"h": 283.3
},
"luminance": 0.12732
}Semantic roles & 50–950 ramp
primary
#604FD2
secondary
#D2D9A4
accent
#E245CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83