#332ACD#332ACD
#332ACD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.235 H 272.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #332ACD |
|---|---|
| RGB | rgb(51, 42, 205) |
| HSL | hsl(243, 66%, 48%) |
| HSV | hsv(243, 80%, 80%) |
| CMYK | cmyk(75.1%, 79.5%, 0%, 19.6%) |
| CIE-LAB | lab(31.27, 55.25, -80.96) |
| CIE-LCH | lch(31.27, 98.01, 304.31°) |
| OKLab | oklab(43.17% 0.0121 -0.2342) |
| OKLCH | oklch(43.17% 0.235 272.9) |
| XYZ | xyz(13.2090, 6.7661, 58.3556) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.36
Pure Blue
#0203E2
ΔE00 4.57
True Blue
#010FCC
ΔE00 4.61
Rich Blue
#021BF9
ΔE00 4.74
Purple Blue
#5D21D0
ΔE00 4.75
Blurple
#5539CC
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332ACD #C4CD2A
analogous
#2A72CD #332ACD #842ACD
triadic
#332ACD #CD332A #2ACD33
tetradic
#332ACD #CD2A72 #C4CD2A #2ACD84
square
#332ACD #CD2A72 #C4CD2A #2ACD84
split-complementary
#332ACD #CD842A #72CD2A
monochromatic
#1A1567 #26209A #332ACD #5F58DD #8F8AE7
Accessibility & contrast
On white
8.92
#332ACD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#332ACD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332ACD
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332ACD | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051D1
Deuteranopia (green-blind)
#0042CA
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #332acd; /* rgb */ color: rgb(51, 42, 205); /* oklch */ color: oklch(43.2% 0.235 272.9);
Tailwind
colors: {
custom: {
50: '#8468de',
500: '#332acd',
950: '#000000',
},
}SCSS
$custom: #332acd; $custom-light: #8468de; $custom-dark: #000000;
JSON
{
"hex": "#332acd",
"rgb": {
"r": 51,
"g": 42,
"b": 205
},
"hsl": {
"h": 243.313,
"s": 65.992,
"l": 48.431
},
"oklch": {
"l": 0.43168,
"c": 0.23456,
"h": 272.9
},
"luminance": 0.06768
}Semantic roles & 50–950 ramp
primary
#332ACD
secondary
#CDD182
accent
#E93FE0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83