#332AA9#332AA9
#332AA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.192 H 276.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #332AA9 |
|---|---|
| RGB | rgb(51, 42, 169) |
| HSL | hsl(244, 60%, 41%) |
| HSV | hsv(244, 75%, 66%) |
| CMYK | cmyk(69.8%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(27.36, 43.93, -66.10) |
| CIE-LCH | lch(27.36, 79.37, 303.61°) |
| OKLab | oklab(39.28% 0.0201 -0.1911) |
| OKLCH | oklch(39.28% 0.192 276) |
| XYZ | xyz(9.3523, 5.2234, 38.0438) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Sapphire (survey)
#2138AB
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.71
Royal
#0C1793
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332AA9 #A0A92A
analogous
#2A61A9 #332AA9 #732AA9
triadic
#332AA9 #A9332A #2AA933
tetradic
#332AA9 #A92A61 #A0A92A #2AA973
square
#332AA9 #A92A61 #A0A92A #2AA973
split-complementary
#332AA9 #A9732A #61A92A
monochromatic
#151247 #241E78 #332AA9 #4B41D0 #7972DC
Accessibility & contrast
On white
10.27
#332AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#332AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332AA9
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332AA9 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332aa9; /* rgb */ color: rgb(51, 42, 169); /* oklch */ color: oklch(39.3% 0.192 276.0);
Tailwind
colors: {
custom: {
50: '#7c66c4',
500: '#332aa9',
950: '#000000',
},
}SCSS
$custom: #332aa9; $custom-light: #7c66c4; $custom-dark: #000000;
JSON
{
"hex": "#332aa9",
"rgb": {
"r": 51,
"g": 42,
"b": 169
},
"hsl": {
"h": 244.252,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.39279,
"c": 0.19213,
"h": 276
},
"luminance": 0.05224
}Semantic roles & 50–950 ramp
primary
#332AA9
secondary
#BDC36C
accent
#E344D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82