#332BA1#332BA1
#332BA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.181 H 276.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #332BA1 |
|---|---|
| RGB | rgb(51, 43, 161) |
| HSL | hsl(244, 58%, 40%) |
| HSV | hsv(244, 73%, 63%) |
| CMYK | cmyk(68.3%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.75, 40.74, -62.28) |
| CIE-LCH | lch(26.75, 74.42, 303.19°) |
| OKLab | oklab(38.6% 0.0212 -0.1799) |
| OKLCH | oklch(38.6% 0.181 276.7) |
| XYZ | xyz(8.6600, 5.0040, 34.2208) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BA1 #99A12B
analogous
#2B5EA1 #332BA1 #6E2BA1
triadic
#332BA1 #A1332B #2BA133
tetradic
#332BA1 #A12B5E #99A12B #2BA16E
square
#332BA1 #A12B5E #99A12B #2BA16E
split-complementary
#332BA1 #A16E2B #5EA12B
monochromatic
#141140 #241E71 #332BA1 #473ECB #756ED8
Accessibility & contrast
On white
10.49
#332BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#332BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BA1
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BA1 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332ba1; /* rgb */ color: rgb(51, 43, 161); /* oklch */ color: oklch(38.6% 0.181 276.7);
Tailwind
colors: {
custom: {
50: '#7a66be',
500: '#332ba1',
950: '#000000',
},
}SCSS
$custom: #332ba1; $custom-light: #7a66be; $custom-dark: #000000;
JSON
{
"hex": "#332ba1",
"rgb": {
"r": 51,
"g": 43,
"b": 161
},
"hsl": {
"h": 244.068,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38597,
"c": 0.18116,
"h": 276.7
},
"luminance": 0.05005
}Semantic roles & 50–950 ramp
primary
#332BA1
secondary
#B9BF69
accent
#E147D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81