#4A2FDB#4A2FDB
#4A2FDB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.8% C 0.241 H 278.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2FDB |
|---|---|
| RGB | rgb(74, 47, 219) |
| HSL | hsl(249, 70%, 52%) |
| HSV | hsv(249, 79%, 86%) |
| CMYK | cmyk(66.2%, 78.5%, 0%, 14.1%) |
| CIE-LAB | lab(35.21, 58.90, -82.49) |
| CIE-LCH | lch(35.21, 101.36, 305.53°) |
| OKLab | oklab(46.77% 0.0365 -0.2382) |
| OKLCH | oklch(46.77% 0.241 278.7) |
| XYZ | xyz(16.6226, 8.6019, 67.7885) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 2.69
Purple Blue
#5D21D0
ΔE00 3.39
Purpley Blue
#5F34E7
ΔE00 3.42
Blue With A Hint Of Purple
#533CC6
ΔE00 3.53
Light Royal Blue
#3A2EFE
ΔE00 3.94
Burple
#6832E3
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2FDB #C0DB2F
analogous
#2F6ADB #4A2FDB #A02FDB
triadic
#4A2FDB #DB4A2F #2FDB4A
tetradic
#4A2FDB #DB2F6A #C0DB2F #2FDBA0
square
#4A2FDB #DB2F6A #C0DB2F #2FDBA0
split-complementary
#4A2FDB #DBA02F #6ADB2F
monochromatic
#25157A #351EAF #4A2FDB #7763E4 #A597ED
Accessibility & contrast
On white
7.72
#4A2FDB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#4A2FDB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2FDB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2FDB | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E0
Deuteranopia (green-blind)
#004CD8
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4a2fdb; /* rgb */ color: rgb(74, 47, 219); /* oklch */ color: oklch(46.8% 0.241 278.7);
Tailwind
colors: {
custom: {
50: '#906de8',
500: '#4a2fdb',
950: '#000000',
},
}SCSS
$custom: #4a2fdb; $custom-light: #906de8; $custom-dark: #000000;
JSON
{
"hex": "#4a2fdb",
"rgb": {
"r": 74,
"g": 47,
"b": 219
},
"hsl": {
"h": 249.419,
"s": 70.492,
"l": 52.157
},
"oklch": {
"l": 0.46769,
"c": 0.24103,
"h": 278.7
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#4A2FDB
secondary
#CDD88D
accent
#ED3BD1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84