#332CBD#332CBD
#332CBD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.214 H 274.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #332CBD |
|---|---|
| RGB | rgb(51, 44, 189) |
| HSL | hsl(243, 62%, 46%) |
| HSV | hsv(243, 77%, 74%) |
| CMYK | cmyk(73%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(29.86, 49.27, -73.91) |
| CIE-LCH | lch(29.86, 88.83, 303.69°) |
| OKLab | oklab(41.67% 0.0149 -0.2138) |
| OKLCH | oklch(41.67% 0.214 274) |
| XYZ | xyz(11.4482, 6.1781, 48.7234) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Sapphire (survey)
#2138AB
ΔE00 4.81
True Blue
#010FCC
ΔE00 4.82
Ultramarine Blue
#1805DB
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.37
Violet Blue
#510AC9
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332CBD #B6BD2C
analogous
#2C6DBD #332CBD #7C2CBD
triadic
#332CBD #BD332C #2CBD33
tetradic
#332CBD #BD2C6D #B6BD2C #2CBD7C
square
#332CBD #BD2C6D #B6BD2C #2CBD7C
split-complementary
#332CBD #BD7C2C #6DBD2C
monochromatic
#18155A #26208B #332CBD #5650D6 #8682E2
Accessibility & contrast
On white
9.39
#332CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#332CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332CBD
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332CBD | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #332cbd; /* rgb */ color: rgb(51, 44, 189); /* oklch */ color: oklch(41.7% 0.214 274.0);
Tailwind
colors: {
custom: {
50: '#8168d2',
500: '#332cbd',
950: '#000000',
},
}SCSS
$custom: #332cbd; $custom-light: #8168d2; $custom-dark: #000000;
JSON
{
"hex": "#332cbd",
"rgb": {
"r": 51,
"g": 44,
"b": 189
},
"hsl": {
"h": 242.897,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.41666,
"c": 0.21433,
"h": 274
},
"luminance": 0.06179
}Semantic roles & 50–950 ramp
primary
#332CBD
secondary
#C7CB7A
accent
#E542DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83