#332FB5#332FB5
#332FB5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.202 H 274.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #332FB5 |
|---|---|
| RGB | rgb(51, 47, 181) |
| HSL | hsl(242, 59%, 45%) |
| HSV | hsv(242, 74%, 71%) |
| CMYK | cmyk(71.8%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.59, 45.05, -69.61) |
| CIE-LCH | lch(29.59, 82.91, 302.91°) |
| OKLab | oklab(41.23% 0.0151 -0.2013) |
| OKLCH | oklch(41.23% 0.202 274.3) |
| XYZ | xyz(10.7195, 6.0720, 44.3142) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Indigo Blue
#3A18B1
ΔE00 4.57
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.65
True Blue
#010FCC
ΔE00 5.71
Blurple
#5539CC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FB5 #B1B52F
analogous
#2F6EB5 #332FB5 #762FB5
triadic
#332FB5 #B5332F #2FB533
tetradic
#332FB5 #B52F6E #B1B52F #2FB576
square
#332FB5 #B52F6E #B1B52F #2FB576
split-complementary
#332FB5 #B5762F #6EB52F
monochromatic
#181654 #252284 #332FB5 #5450D1 #8380DE
Accessibility & contrast
On white
9.48
#332FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#332FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FB5
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FB5 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #332fb5; /* rgb */ color: rgb(51, 47, 181); /* oklch */ color: oklch(41.2% 0.202 274.3);
Tailwind
colors: {
custom: {
50: '#7e69cc',
500: '#332fb5',
950: '#000000',
},
}SCSS
$custom: #332fb5; $custom-light: #7e69cc; $custom-dark: #000000;
JSON
{
"hex": "#332fb5",
"rgb": {
"r": 51,
"g": 47,
"b": 181
},
"hsl": {
"h": 241.791,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.4123,
"c": 0.20187,
"h": 274.3
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#332FB5
secondary
#C5C779
accent
#E246DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82