#332FAC#332FAC
#332FAC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.191 H 275.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #332FAC |
|---|---|
| RGB | rgb(51, 47, 172) |
| HSL | hsl(242, 57%, 43%) |
| HSV | hsv(242, 73%, 67%) |
| CMYK | cmyk(70.3%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(28.68, 42.08, -65.73) |
| CIE-LCH | lch(28.68, 78.05, 302.62°) |
| OKLab | oklab(40.31% 0.0167 -0.19) |
| OKLCH | oklch(40.31% 0.191 275) |
| XYZ | xyz(9.8257, 5.7145, 39.6069) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 5.90
Blue With A Hint Of Purple
#533CC6
ΔE00 6.28
True Blue
#010FCC
ΔE00 6.30
Blue Blue
#2242C7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FAC #A8AC2F
analogous
#2F69AC #332FAC #712FAC
triadic
#332FAC #AC332F #2FAC33
tetradic
#332FAC #AC2F69 #A8AC2F #2FAC71
square
#332FAC #AC2F69 #A8AC2F #2FAC71
split-complementary
#332FAC #AC712F #69AC2F
monochromatic
#16154C #25227C #332FAC #4F4BCE #7E7BDB
Accessibility & contrast
On white
9.80
#332FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#332FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FAC
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FAC | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #332fac; /* rgb */ color: rgb(51, 47, 172); /* oklch */ color: oklch(40.3% 0.191 275.0);
Tailwind
colors: {
custom: {
50: '#7c69c6',
500: '#332fac',
950: '#000000',
},
}SCSS
$custom: #332fac; $custom-light: #7c69c6; $custom-dark: #000000;
JSON
{
"hex": "#332fac",
"rgb": {
"r": 51,
"g": 47,
"b": 172
},
"hsl": {
"h": 241.92,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.40307,
"c": 0.19075,
"h": 275
},
"luminance": 0.05715
}Semantic roles & 50–950 ramp
primary
#332FAC
secondary
#C1C374
accent
#E047DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82