#332CAA#332CAA
#332CAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.191 H 275.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #332CAA |
|---|---|
| RGB | rgb(51, 44, 170) |
| HSL | hsl(243, 59%, 42%) |
| HSV | hsv(243, 74%, 67%) |
| CMYK | cmyk(70%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.86, 43.13, -65.88) |
| CIE-LCH | lch(27.86, 78.74, 303.21°) |
| OKLab | oklab(39.67% 0.0188 -0.1904) |
| OKLCH | oklch(39.67% 0.191 275.6) |
| XYZ | xyz(9.5192, 5.4066, 38.5643) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.09
True Blue
#010FCC
ΔE00 5.93
Royal
#0C1793
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332CAA #A3AA2C
analogous
#2C64AA #332CAA #722CAA
triadic
#332CAA #AA332C #2CAA33
tetradic
#332CAA #AA2C64 #A3AA2C #2CAA72
square
#332CAA #AA2C64 #A3AA2C #2CAA72
split-complementary
#332CAA #AA722C #64AA2C
monochromatic
#161349 #241F79 #332CAA #4C44CF #7B75DB
Accessibility & contrast
On white
10.09
#332CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#332CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332CAA
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332CAA | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #332caa; /* rgb */ color: rgb(51, 44, 170); /* oklch */ color: oklch(39.7% 0.191 275.6);
Tailwind
colors: {
custom: {
50: '#7c67c4',
500: '#332caa',
950: '#000000',
},
}SCSS
$custom: #332caa; $custom-light: #7c67c4; $custom-dark: #000000;
JSON
{
"hex": "#332caa",
"rgb": {
"r": 51,
"g": 44,
"b": 170
},
"hsl": {
"h": 243.333,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39665,
"c": 0.19136,
"h": 275.6
},
"luminance": 0.05407
}Semantic roles & 50–950 ramp
primary
#332CAA
secondary
#BEC36F
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82