#332FB2#332FB2
#332FB2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.198 H 274.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #332FB2 |
|---|---|
| RGB | rgb(51, 47, 178) |
| HSL | hsl(242, 58%, 44%) |
| HSV | hsv(242, 74%, 70%) |
| CMYK | cmyk(71.3%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(29.29, 44.06, -68.32) |
| CIE-LCH | lch(29.29, 81.30, 302.82°) |
| OKLab | oklab(40.92% 0.0156 -0.1976) |
| OKLCH | oklch(40.92% 0.198 274.5) |
| XYZ | xyz(10.4150, 5.9502, 42.7105) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 5.71
Blue With A Hint Of Purple
#533CC6
ΔE00 5.76
True Blue
#010FCC
ΔE00 5.87
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FB2 #AEB22F
analogous
#2F6DB2 #332FB2 #752FB2
triadic
#332FB2 #B2332F #2FB233
tetradic
#332FB2 #B22F6D #AEB22F #2FB275
square
#332FB2 #B22F6D #AEB22F #2FB275
split-complementary
#332FB2 #B2752F #6DB22F
monochromatic
#171551 #252282 #332FB2 #524ED0 #817EDD
Accessibility & contrast
On white
9.59
#332FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#332FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FB2
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FB2 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #332fb2; /* rgb */ color: rgb(51, 47, 178); /* oklch */ color: oklch(40.9% 0.198 274.5);
Tailwind
colors: {
custom: {
50: '#7e69ca',
500: '#332fb2',
950: '#000000',
},
}SCSS
$custom: #332fb2; $custom-light: #7e69ca; $custom-dark: #000000;
JSON
{
"hex": "#332fb2",
"rgb": {
"r": 51,
"g": 47,
"b": 178
},
"hsl": {
"h": 241.832,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.4092,
"c": 0.1982,
"h": 274.5
},
"luminance": 0.05951
}Semantic roles & 50–950 ramp
primary
#332FB2
secondary
#C3C677
accent
#E146DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82