#332ACC#332ACC
#332ACC is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.1% C 0.233 H 273.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #332ACC |
|---|---|
| RGB | rgb(51, 42, 204) |
| HSL | hsl(243, 66%, 48%) |
| HSV | hsv(243, 79%, 80%) |
| CMYK | cmyk(75%, 79.4%, 0%, 20%) |
| CIE-LAB | lab(31.16, 54.94, -80.56) |
| CIE-LCH | lch(31.16, 97.51, 304.29°) |
| OKLab | oklab(43.06% 0.0123 -0.2331) |
| OKLCH | oklch(43.06% 0.233 273) |
| XYZ | xyz(13.0886, 6.7180, 57.7219) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.37
True Blue
#010FCC
ΔE00 4.57
Pure Blue
#0203E2
ΔE00 4.60
Violet Blue
#510AC9
ΔE00 4.78
Purple Blue
#5D21D0
ΔE00 4.79
Blurple
#5539CC
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332ACC #C3CC2A
analogous
#2A72CC #332ACC #842ACC
triadic
#332ACC #CC332A #2ACC33
tetradic
#332ACC #CC2A72 #C3CC2A #2ACC84
square
#332ACC #CC2A72 #C3CC2A #2ACC84
split-complementary
#332ACC #CC842A #72CC2A
monochromatic
#1A1566 #262099 #332ACC #5E57DC #8F8AE7
Accessibility & contrast
On white
8.96
#332ACC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#332ACC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332ACC
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332ACC | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051D0
Deuteranopia (green-blind)
#0041C9
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #332acc; /* rgb */ color: rgb(51, 42, 204); /* oklch */ color: oklch(43.1% 0.233 273.0);
Tailwind
colors: {
custom: {
50: '#8468dd',
500: '#332acc',
950: '#000000',
},
}SCSS
$custom: #332acc; $custom-light: #8468dd; $custom-dark: #000000;
JSON
{
"hex": "#332acc",
"rgb": {
"r": 51,
"g": 42,
"b": 204
},
"hsl": {
"h": 243.333,
"s": 65.854,
"l": 48.235
},
"oklch": {
"l": 0.43058,
"c": 0.23342,
"h": 273
},
"luminance": 0.06719
}Semantic roles & 50–950 ramp
primary
#332ACC
secondary
#CCD181
accent
#E93FDF
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83