#332F99#332F99
#332F99 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.166 H 276.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #332F99 |
|---|---|
| RGB | rgb(51, 47, 153) |
| HSL | hsl(242, 53%, 39%) |
| HSV | hsv(242, 69%, 60%) |
| CMYK | cmyk(66.7%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(26.84, 35.66, -57.25) |
| CIE-LCH | lch(26.84, 67.45, 301.91°) |
| OKLab | oklab(38.43% 0.0197 -0.1652) |
| OKLCH | oklch(38.43% 0.166 276.8) |
| XYZ | xyz(8.1297, 5.0361, 30.6745) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Blueberry
#464196
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 5.93
Royal
#0C1793
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F99 #95992F
analogous
#2F6099 #332F99 #682F99
triadic
#332F99 #99332F #2F9933
tetradic
#332F99 #992F60 #95992F #2F9968
square
#332F99 #992F60 #95992F #2F9968
split-complementary
#332F99 #99682F #60992F
monochromatic
#14123B #23216A #332F99 #4641C5 #736FD3
Accessibility & contrast
On white
10.46
#332F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#332F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F99
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F99 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332f99; /* rgb */ color: rgb(51, 47, 153); /* oklch */ color: oklch(38.4% 0.166 276.8);
Tailwind
colors: {
custom: {
50: '#7868b8',
500: '#332f99',
950: '#000000',
},
}SCSS
$custom: #332f99; $custom-light: #7868b8; $custom-dark: #000000;
JSON
{
"hex": "#332f99",
"rgb": {
"r": 51,
"g": 47,
"b": 153
},
"hsl": {
"h": 242.264,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.38427,
"c": 0.16641,
"h": 276.8
},
"luminance": 0.05037
}Semantic roles & 50–950 ramp
primary
#332F99
secondary
#B7BA69
accent
#DC4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80