#4731C2#4731C2
#4731C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.211 H 280.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4731C2 |
|---|---|
| RGB | rgb(71, 49, 194) |
| HSL | hsl(249, 60%, 48%) |
| HSV | hsv(249, 75%, 76%) |
| CMYK | cmyk(63.4%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(32.77, 50.23, -72.00) |
| CIE-LCH | lch(32.77, 87.79, 304.90°) |
| OKLab | oklab(44.25% 0.0376 -0.2078) |
| OKLCH | oklch(44.25% 0.211 280.3) |
| XYZ | xyz(13.4314, 7.4302, 51.7549) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 2.99
Blue With A Hint Of Purple
#533CC6
ΔE00 3.01
Purple Blue
#5D21D0
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 4.53
Violet Blue
#510AC9
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4731C2 #ACC231
analogous
#3164C2 #4731C2 #8F31C2
triadic
#4731C2 #C24731 #31C247
tetradic
#4731C2 #C23164 #ACC231 #31C28F
square
#4731C2 #C23164 #ACC231 #31C28F
split-complementary
#4731C2 #C28F31 #64C231
monochromatic
#231860 #352591 #4731C2 #6D5BD6 #998CE2
Accessibility & contrast
On white
8.45
#4731C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#4731C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4731C2
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4731C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4731C2 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4731c2; /* rgb */ color: rgb(71, 49, 194); /* oklch */ color: oklch(44.2% 0.211 280.3);
Tailwind
colors: {
custom: {
50: '#8a6cd6',
500: '#4731c2',
950: '#000000',
},
}SCSS
$custom: #4731c2; $custom-light: #8a6cd6; $custom-dark: #000000;
JSON
{
"hex": "#4731c2",
"rgb": {
"r": 71,
"g": 49,
"b": 194
},
"hsl": {
"h": 249.103,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.44246,
"c": 0.21117,
"h": 280.3
},
"luminance": 0.07431
}Semantic roles & 50–950 ramp
primary
#4731C2
secondary
#C1CC83
accent
#E345CB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83