#332DAF#332DAF
#332DAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.197 H 275.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #332DAF |
|---|---|
| RGB | rgb(51, 45, 175) |
| HSL | hsl(243, 59%, 43%) |
| HSV | hsv(243, 74%, 69%) |
| CMYK | cmyk(70.9%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.58, 44.21, -67.70) |
| CIE-LCH | lch(28.58, 80.86, 303.14°) |
| OKLab | oklab(40.33% 0.0173 -0.1957) |
| OKLCH | oklch(40.33% 0.197 275) |
| XYZ | xyz(10.0389, 5.6748, 41.1154) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.10
True Blue
#010FCC
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.16
Blue With A Hint Of Purple
#533CC6
ΔE00 6.23
Violet Blue
#510AC9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332DAF #A9AF2D
analogous
#2D68AF #332DAF #742DAF
triadic
#332DAF #AF332D #2DAF33
tetradic
#332DAF #AF2D68 #A9AF2D #2DAF74
square
#332DAF #AF2D68 #A9AF2D #2DAF74
split-complementary
#332DAF #AF742D #68AF2D
monochromatic
#17144E #25207E #332DAF #4F49D0 #7E7ADD
Accessibility & contrast
On white
9.84
#332DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#332DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332DAF
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332DAF | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #332daf; /* rgb */ color: rgb(51, 45, 175); /* oklch */ color: oklch(40.3% 0.197 275.0);
Tailwind
colors: {
custom: {
50: '#7d68c8',
500: '#332daf',
950: '#000000',
},
}SCSS
$custom: #332daf; $custom-light: #7d68c8; $custom-dark: #000000;
JSON
{
"hex": "#332daf",
"rgb": {
"r": 51,
"g": 45,
"b": 175
},
"hsl": {
"h": 242.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.40325,
"c": 0.19651,
"h": 275
},
"luminance": 0.05676
}Semantic roles & 50–950 ramp
primary
#332DAF
secondary
#C1C573
accent
#E246DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82