#332FB6#332FB6
#332FB6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.203 H 274.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #332FB6 |
|---|---|
| RGB | rgb(51, 47, 182) |
| HSL | hsl(242, 59%, 45%) |
| HSV | hsv(242, 74%, 71%) |
| CMYK | cmyk(72%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(29.70, 45.38, -70.03) |
| CIE-LCH | lch(29.70, 83.45, 302.94°) |
| OKLab | oklab(41.33% 0.0149 -0.2025) |
| OKLCH | oklch(41.33% 0.203 274.2) |
| XYZ | xyz(10.8224, 6.1132, 44.8565) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.58
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.63
True Blue
#010FCC
ΔE00 5.66
Blurple
#5539CC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FB6 #B2B62F
analogous
#2F6EB6 #332FB6 #772FB6
triadic
#332FB6 #B6332F #2FB633
tetradic
#332FB6 #B62F6E #B2B62F #2FB677
square
#332FB6 #B62F6E #B2B62F #2FB677
split-complementary
#332FB6 #B6772F #6EB62F
monochromatic
#181655 #252285 #332FB6 #5450D2 #8481DE
Accessibility & contrast
On white
9.45
#332FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#332FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FB6
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FB6 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #332fb6; /* rgb */ color: rgb(51, 47, 182); /* oklch */ color: oklch(41.3% 0.203 274.2);
Tailwind
colors: {
custom: {
50: '#7f69cd',
500: '#332fb6',
950: '#000000',
},
}SCSS
$custom: #332fb6; $custom-light: #7f69cd; $custom-dark: #000000;
JSON
{
"hex": "#332fb6",
"rgb": {
"r": 51,
"g": 47,
"b": 182
},
"hsl": {
"h": 241.778,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.41334,
"c": 0.2031,
"h": 274.2
},
"luminance": 0.06114
}Semantic roles & 50–950 ramp
primary
#332FB6
secondary
#C5C779
accent
#E246DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82