#332CA5#332CA5
#332CA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.185 H 276.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #332CA5 |
|---|---|
| RGB | rgb(51, 44, 165) |
| HSL | hsl(243, 58%, 41%) |
| HSV | hsv(243, 73%, 65%) |
| CMYK | cmyk(69.1%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(27.36, 41.49, -63.70) |
| CIE-LCH | lch(27.36, 76.02, 303.07°) |
| OKLab | oklab(39.15% 0.0198 -0.1841) |
| OKLCH | oklch(39.15% 0.185 276.1) |
| XYZ | xyz(9.0552, 5.2210, 36.1206) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.25
Royal
#0C1793
ΔE00 5.90
True Blue
#010FCC
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332CA5 #9EA52C
analogous
#2C61A5 #332CA5 #6F2CA5
triadic
#332CA5 #A5332C #2CA533
tetradic
#332CA5 #A52C61 #9EA52C #2CA56F
square
#332CA5 #A52C61 #9EA52C #2CA56F
split-complementary
#332CA5 #A56F2C #61A52C
monochromatic
#151244 #241F75 #332CA5 #4A42CD #7872D9
Accessibility & contrast
On white
10.27
#332CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#332CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332CA5
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332CA5 | 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)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332ca5; /* rgb */ color: rgb(51, 44, 165); /* oklch */ color: oklch(39.2% 0.185 276.1);
Tailwind
colors: {
custom: {
50: '#7b67c1',
500: '#332ca5',
950: '#000000',
},
}SCSS
$custom: #332ca5; $custom-light: #7b67c1; $custom-dark: #000000;
JSON
{
"hex": "#332ca5",
"rgb": {
"r": 51,
"g": 44,
"b": 165
},
"hsl": {
"h": 243.471,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.39152,
"c": 0.18514,
"h": 276.1
},
"luminance": 0.05222
}Semantic roles & 50–950 ramp
primary
#332CA5
secondary
#BCC16C
accent
#E147D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81