#332BA9#332BA9
#332BA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.191 H 275.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #332BA9 |
|---|---|
| RGB | rgb(51, 43, 169) |
| HSL | hsl(244, 59%, 42%) |
| HSV | hsv(244, 75%, 66%) |
| CMYK | cmyk(69.8%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.56, 43.37, -65.78) |
| CIE-LCH | lch(27.56, 78.79, 303.40°) |
| OKLab | oklab(39.42% 0.0196 -0.1901) |
| OKLCH | oklch(39.42% 0.191 275.9) |
| XYZ | xyz(9.3882, 5.2953, 38.0558) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.31
True Blue
#010FCC
ΔE00 5.86
Royal
#0C1793
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BA9 #A1A92B
analogous
#2B62A9 #332BA9 #722BA9
triadic
#332BA9 #A9332B #2BA933
tetradic
#332BA9 #A92B62 #A1A92B #2BA972
square
#332BA9 #A92B62 #A1A92B #2BA972
split-complementary
#332BA9 #A9722B #62A92B
monochromatic
#161247 #241F78 #332BA9 #4B42CF #7A73DB
Accessibility & contrast
On white
10.20
#332BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#332BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BA9
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BA9 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332ba9; /* rgb */ color: rgb(51, 43, 169); /* oklch */ color: oklch(39.4% 0.191 275.9);
Tailwind
colors: {
custom: {
50: '#7c66c4',
500: '#332ba9',
950: '#000000',
},
}SCSS
$custom: #332ba9; $custom-light: #7c66c4; $custom-dark: #000000;
JSON
{
"hex": "#332ba9",
"rgb": {
"r": 51,
"g": 43,
"b": 169
},
"hsl": {
"h": 243.81,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39419,
"c": 0.19113,
"h": 275.9
},
"luminance": 0.05296
}Semantic roles & 50–950 ramp
primary
#332BA9
secondary
#BDC36D
accent
#E345D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82