#332BA3#332BA3
#332BA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.184 H 276.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #332BA3 |
|---|---|
| RGB | rgb(51, 43, 163) |
| HSL | hsl(244, 58%, 40%) |
| HSV | hsv(244, 74%, 64%) |
| CMYK | cmyk(68.7%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.95, 41.40, -63.16) |
| CIE-LCH | lch(26.95, 75.52, 303.24°) |
| OKLab | oklab(38.8% 0.0208 -0.1825) |
| OKLCH | oklch(38.8% 0.184 276.5) |
| XYZ | xyz(8.8378, 5.0751, 35.1571) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.40
Royal
#0C1793
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 6.27
True Blue
#010FCC
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BA3 #9BA32B
analogous
#2B5FA3 #332BA3 #6F2BA3
triadic
#332BA3 #A3332B #2BA333
tetradic
#332BA3 #A32B5F #9BA32B #2BA36F
square
#332BA3 #A32B5F #9BA32B #2BA36F
split-complementary
#332BA3 #A36F2B #5FA32B
monochromatic
#151142 #241E73 #332BA3 #483FCC #766FD9
Accessibility & contrast
On white
10.42
#332BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#332BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BA3
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BA3 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #332ba3; /* rgb */ color: rgb(51, 43, 163); /* oklch */ color: oklch(38.8% 0.184 276.5);
Tailwind
colors: {
custom: {
50: '#7b66bf',
500: '#332ba3',
950: '#000000',
},
}SCSS
$custom: #332ba3; $custom-light: #7b66bf; $custom-dark: #000000;
JSON
{
"hex": "#332ba3",
"rgb": {
"r": 51,
"g": 43,
"b": 163
},
"hsl": {
"h": 244,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38801,
"c": 0.18368,
"h": 276.5
},
"luminance": 0.05076
}Semantic roles & 50–950 ramp
primary
#332BA3
secondary
#BAC06A
accent
#E146D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81