#332BA0#332BA0
#332BA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 276.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #332BA0 |
|---|---|
| RGB | rgb(51, 43, 160) |
| HSL | hsl(244, 58%, 40%) |
| HSV | hsv(244, 73%, 63%) |
| CMYK | cmyk(68.1%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.65, 40.41, -61.84) |
| CIE-LCH | lch(26.65, 73.87, 303.16°) |
| OKLab | oklab(38.5% 0.0214 -0.1786) |
| OKLCH | oklch(38.5% 0.18 276.8) |
| XYZ | xyz(8.5722, 4.9689, 33.7582) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.41
Sapphire (survey)
#2138AB
ΔE00 4.50
Royal
#0C1793
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 6.33
Ultramarine
#2000B1
ΔE00 6.62
Blueberry
#464196
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BA0 #98A02B
analogous
#2B5DA0 #332BA0 #6E2BA0
triadic
#332BA0 #A0332B #2BA033
tetradic
#332BA0 #A02B5D #98A02B #2BA06E
square
#332BA0 #A02B5D #98A02B #2BA06E
split-complementary
#332BA0 #A06E2B #5DA02B
monochromatic
#141140 #241E70 #332BA0 #473DCB #756ED8
Accessibility & contrast
On white
10.53
#332BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#332BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BA0
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BA0 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332ba0; /* rgb */ color: rgb(51, 43, 160); /* oklch */ color: oklch(38.5% 0.180 276.8);
Tailwind
colors: {
custom: {
50: '#7a66bd',
500: '#332ba0',
950: '#000000',
},
}SCSS
$custom: #332ba0; $custom-light: #7a66bd; $custom-dark: #000000;
JSON
{
"hex": "#332ba0",
"rgb": {
"r": 51,
"g": 43,
"b": 160
},
"hsl": {
"h": 244.103,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38495,
"c": 0.1799,
"h": 276.8
},
"luminance": 0.0497
}Semantic roles & 50–950 ramp
primary
#332BA0
secondary
#B9BF68
accent
#E147D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81