#332BAA#332BAA
#332BAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.192 H 275.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #332BAA |
|---|---|
| RGB | rgb(51, 43, 170) |
| HSL | hsl(244, 60%, 42%) |
| HSV | hsv(244, 75%, 67%) |
| CMYK | cmyk(70%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(27.66, 43.69, -66.21) |
| CIE-LCH | lch(27.66, 79.33, 303.42°) |
| OKLab | oklab(39.52% 0.0194 -0.1914) |
| OKLCH | oklch(39.52% 0.192 275.8) |
| XYZ | xyz(9.4824, 5.3330, 38.5521) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.31
True Blue
#010FCC
ΔE00 5.77
Royal
#0C1793
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BAA #A2AA2B
analogous
#2B62AA #332BAA #732BAA
triadic
#332BAA #AA332B #2BAA33
tetradic
#332BAA #AA2B62 #A2AA2B #2BAA73
square
#332BAA #AA2B62 #A2AA2B #2BAA73
split-complementary
#332BAA #AA732B #62AA2B
monochromatic
#161248 #241F79 #332BAA #4C43CF #7A74DC
Accessibility & contrast
On white
10.16
#332BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#332BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BAA
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BAA | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332baa; /* rgb */ color: rgb(51, 43, 170); /* oklch */ color: oklch(39.5% 0.192 275.8);
Tailwind
colors: {
custom: {
50: '#7c66c5',
500: '#332baa',
950: '#000000',
},
}SCSS
$custom: #332baa; $custom-light: #7c66c5; $custom-dark: #000000;
JSON
{
"hex": "#332baa",
"rgb": {
"r": 51,
"g": 43,
"b": 170
},
"hsl": {
"h": 243.78,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39523,
"c": 0.19237,
"h": 275.8
},
"luminance": 0.05334
}Semantic roles & 50–950 ramp
primary
#332BAA
secondary
#BEC36E
accent
#E345D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82