#332BCC#332BCC
#332BCC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.233 H 272.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #332BCC |
|---|---|
| RGB | rgb(51, 43, 204) |
| HSL | hsl(243, 65%, 48%) |
| HSV | hsv(243, 79%, 80%) |
| CMYK | cmyk(75%, 78.9%, 0%, 20%) |
| CIE-LAB | lab(31.32, 54.46, -80.29) |
| CIE-LCH | lch(31.32, 97.01, 304.15°) |
| OKLab | oklab(43.17% 0.012 -0.2323) |
| OKLCH | oklch(43.17% 0.233 272.9) |
| XYZ | xyz(13.1246, 6.7898, 57.7339) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.55
Blurple
#5539CC
ΔE00 4.69
True Blue
#010FCC
ΔE00 4.74
Pure Blue
#0203E2
ΔE00 4.76
Purple Blue
#5D21D0
ΔE00 4.84
Rich Blue
#021BF9
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BCC #C4CC2B
analogous
#2B74CC #332BCC #832BCC
triadic
#332BCC #CC332B #2BCC33
tetradic
#332BCC #CC2B74 #C4CC2B #2BCC83
square
#332BCC #CC2B74 #C4CC2B #2BCC83
split-complementary
#332BCC #CC832B #74CC2B
monochromatic
#1A1667 #262099 #332BCC #5F58DC #8F8BE7
Accessibility & contrast
On white
8.91
#332BCC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#332BCC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BCC
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BCC | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051D0
Deuteranopia (green-blind)
#0042C9
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #332bcc; /* rgb */ color: rgb(51, 43, 204); /* oklch */ color: oklch(43.2% 0.233 272.9);
Tailwind
colors: {
custom: {
50: '#8468dd',
500: '#332bcc',
950: '#000000',
},
}SCSS
$custom: #332bcc; $custom-light: #8468dd; $custom-dark: #000000;
JSON
{
"hex": "#332bcc",
"rgb": {
"r": 51,
"g": 43,
"b": 204
},
"hsl": {
"h": 242.981,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.43174,
"c": 0.23262,
"h": 272.9
},
"luminance": 0.06791
}Semantic roles & 50–950 ramp
primary
#332BCC
secondary
#CDD082
accent
#E840E0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83