#332AA5#332AA5
#332AA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.187 H 276.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #332AA5 |
|---|---|
| RGB | rgb(51, 42, 165) |
| HSL | hsl(244, 59%, 41%) |
| HSV | hsv(244, 75%, 65%) |
| CMYK | cmyk(69.1%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.95, 42.62, -64.37) |
| CIE-LCH | lch(26.95, 77.20, 303.51°) |
| OKLab | oklab(38.86% 0.021 -0.186) |
| OKLCH | oklch(38.86% 0.187 276.4) |
| XYZ | xyz(8.9825, 5.0755, 36.0963) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.57
Royal
#0C1793
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 6.04
True Blue
#010FCC
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332AA5 #9CA52A
analogous
#2A5EA5 #332AA5 #702AA5
triadic
#332AA5 #A5332A #2AA533
tetradic
#332AA5 #A52A5E #9CA52A #2AA570
square
#332AA5 #A52A5E #9CA52A #2AA570
split-complementary
#332AA5 #A5702A #5EA52A
monochromatic
#151143 #241E74 #332AA5 #493ECE #776FDA
Accessibility & contrast
On white
10.42
#332AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#332AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332AA5
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332AA5 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #332aa5; /* rgb */ color: rgb(51, 42, 165); /* oklch */ color: oklch(38.9% 0.187 276.4);
Tailwind
colors: {
custom: {
50: '#7b66c1',
500: '#332aa5',
950: '#000000',
},
}SCSS
$custom: #332aa5; $custom-light: #7b66c1; $custom-dark: #000000;
JSON
{
"hex": "#332aa5",
"rgb": {
"r": 51,
"g": 42,
"b": 165
},
"hsl": {
"h": 244.39,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38863,
"c": 0.1872,
"h": 276.4
},
"luminance": 0.05076
}Semantic roles & 50–950 ramp
primary
#332AA5
secondary
#BBC169
accent
#E345D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81