#332AAB#332AAB
#332AAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.195 H 275.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #332AAB |
|---|---|
| RGB | rgb(51, 42, 171) |
| HSL | hsl(244, 61%, 42%) |
| HSV | hsv(244, 75%, 67%) |
| CMYK | cmyk(70.2%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(27.57, 44.57, -66.96) |
| CIE-LCH | lch(27.57, 80.44, 303.65°) |
| OKLab | oklab(39.49% 0.0197 -0.1936) |
| OKLCH | oklch(39.49% 0.195 275.8) |
| XYZ | xyz(9.5415, 5.2991, 39.0402) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Sapphire (survey)
#2138AB
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.52
Royal
#0C1793
ΔE00 6.00
Ultramarine
#2000B1
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332AAB #A2AB2A
analogous
#2A62AB #332AAB #742AAB
triadic
#332AAB #AB332A #2AAB33
tetradic
#332AAB #AB2A62 #A2AB2A #2AAB74
square
#332AAB #AB2A62 #A2AB2A #2AAB74
split-complementary
#332AAB #AB742A #62AB2A
monochromatic
#161249 #241E7A #332AAB #4C42D1 #7A73DD
Accessibility & contrast
On white
10.19
#332AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#332AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332AAB
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332AAB | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332aab; /* rgb */ color: rgb(51, 42, 171); /* oklch */ color: oklch(39.5% 0.195 275.8);
Tailwind
colors: {
custom: {
50: '#7d66c5',
500: '#332aab',
950: '#000000',
},
}SCSS
$custom: #332aab; $custom-light: #7d66c5; $custom-dark: #000000;
JSON
{
"hex": "#332aab",
"rgb": {
"r": 51,
"g": 42,
"b": 171
},
"hsl": {
"h": 244.186,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.39489,
"c": 0.19458,
"h": 275.8
},
"luminance": 0.053
}Semantic roles & 50–950 ramp
primary
#332AAB
secondary
#BEC46D
accent
#E444D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82