#332CA9#332CA9
#332CA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.190 H 275.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #332CA9 |
|---|---|
| RGB | rgb(51, 44, 169) |
| HSL | hsl(243, 59%, 42%) |
| HSV | hsv(243, 74%, 66%) |
| CMYK | cmyk(69.8%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(27.76, 42.80, -65.45) |
| CIE-LCH | lch(27.76, 78.20, 303.19°) |
| OKLab | oklab(39.56% 0.019 -0.1892) |
| OKLCH | oklch(39.56% 0.19 275.7) |
| XYZ | xyz(9.4250, 5.3689, 38.0680) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.09
True Blue
#010FCC
ΔE00 6.02
Royal
#0C1793
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.49
Ultramarine
#2000B1
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332CA9 #A2A92C
analogous
#2C64A9 #332CA9 #722CA9
triadic
#332CA9 #A9332C #2CA933
tetradic
#332CA9 #A92C64 #A2A92C #2CA972
square
#332CA9 #A92C64 #A2A92C #2CA972
split-complementary
#332CA9 #A9722C #64A92C
monochromatic
#161348 #241F78 #332CA9 #4C44CE #7A74DB
Accessibility & contrast
On white
10.13
#332CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#332CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332CA9
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332CA9 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #332ca9; /* rgb */ color: rgb(51, 44, 169); /* oklch */ color: oklch(39.6% 0.190 275.7);
Tailwind
colors: {
custom: {
50: '#7c67c4',
500: '#332ca9',
950: '#000000',
},
}SCSS
$custom: #332ca9; $custom-light: #7c67c4; $custom-dark: #000000;
JSON
{
"hex": "#332ca9",
"rgb": {
"r": 51,
"g": 44,
"b": 169
},
"hsl": {
"h": 243.36,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39562,
"c": 0.19012,
"h": 275.7
},
"luminance": 0.0537
}Semantic roles & 50–950 ramp
primary
#332CA9
secondary
#BEC36E
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82