#332BAC#332BAC
#332BAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.195 H 275.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #332BAC |
|---|---|
| RGB | rgb(51, 43, 172) |
| HSL | hsl(244, 60%, 42%) |
| HSV | hsv(244, 75%, 67%) |
| CMYK | cmyk(70.3%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(27.87, 44.35, -67.07) |
| CIE-LCH | lch(27.87, 80.40, 303.47°) |
| OKLab | oklab(39.73% 0.019 -0.1939) |
| OKLCH | oklch(39.73% 0.195 275.6) |
| XYZ | xyz(9.6731, 5.4092, 39.5560) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.32
True Blue
#010FCC
ΔE00 5.59
Royal
#0C1793
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.25
Cobalt Blue
#030AA7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BAC #A4AC2B
analogous
#2B64AC #332BAC #742BAC
triadic
#332BAC #AC332B #2BAC33
tetradic
#332BAC #AC2B64 #A4AC2B #2BAC74
square
#332BAC #AC2B64 #A4AC2B #2BAC74
split-complementary
#332BAC #AC742B #64AC2B
monochromatic
#16134A #241F7B #332BAC #4D44D0 #7B75DC
Accessibility & contrast
On white
10.09
#332BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#332BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BAC
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BAC | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #332bac; /* rgb */ color: rgb(51, 43, 172); /* oklch */ color: oklch(39.7% 0.195 275.6);
Tailwind
colors: {
custom: {
50: '#7d66c6',
500: '#332bac',
950: '#000000',
},
}SCSS
$custom: #332bac; $custom-light: #7d66c6; $custom-dark: #000000;
JSON
{
"hex": "#332bac",
"rgb": {
"r": 51,
"g": 43,
"b": 172
},
"hsl": {
"h": 243.721,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.39732,
"c": 0.19481,
"h": 275.6
},
"luminance": 0.0541
}Semantic roles & 50–950 ramp
primary
#332BAC
secondary
#BFC46F
accent
#E345D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82