#332FA0#332FA0
#332FA0 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.176 H 276.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #332FA0 |
|---|---|
| RGB | rgb(51, 47, 160) |
| HSL | hsl(242, 55%, 41%) |
| HSV | hsv(242, 71%, 63%) |
| CMYK | cmyk(68.1%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(27.50, 38.04, -60.43) |
| CIE-LCH | lch(27.50, 71.41, 302.19°) |
| OKLab | oklab(39.11% 0.0187 -0.1745) |
| OKLCH | oklch(39.11% 0.176 276.1) |
| XYZ | xyz(8.7248, 5.2741, 33.8091) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 5.30
Blueberry
#464196
ΔE00 5.87
Royal
#0C1793
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FA0 #9CA02F
analogous
#2F63A0 #332FA0 #6B2FA0
triadic
#332FA0 #A0332F #2FA033
tetradic
#332FA0 #A02F63 #9CA02F #2FA06B
square
#332FA0 #A02F63 #9CA02F #2FA06B
split-complementary
#332FA0 #A06B2F #63A02F
monochromatic
#151341 #242171 #332FA0 #4944C8 #7773D6
Accessibility & contrast
On white
10.22
#332FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#332FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FA0
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FA0 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332fa0; /* rgb */ color: rgb(51, 47, 160); /* oklch */ color: oklch(39.1% 0.176 276.1);
Tailwind
colors: {
custom: {
50: '#7a68bd',
500: '#332fa0',
950: '#000000',
},
}SCSS
$custom: #332fa0; $custom-light: #7a68bd; $custom-dark: #000000;
JSON
{
"hex": "#332fa0",
"rgb": {
"r": 51,
"g": 47,
"b": 160
},
"hsl": {
"h": 242.124,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.39108,
"c": 0.17553,
"h": 276.1
},
"luminance": 0.05275
}Semantic roles & 50–950 ramp
primary
#332FA0
secondary
#BBBE6D
accent
#DE4AD9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81