#332F78#332F78
#332F78 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.121 H 280.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #332F78 |
|---|---|
| RGB | rgb(51, 47, 120) |
| HSL | hsl(243, 44%, 33%) |
| HSV | hsv(243, 61%, 47%) |
| CMYK | cmyk(57.5%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(23.97, 24.21, -41.35) |
| CIE-LCH | lch(23.97, 47.92, 300.35°) |
| OKLab | oklab(35.45% 0.0225 -0.1186) |
| OKLCH | oklch(35.45% 0.121 280.7) |
| XYZ | xyz(5.7709, 4.0925, 18.2515) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.21
Midnight Blue
#191970
ΔE00 6.39
Blueberry
#464196
ΔE00 6.66
Sapphire (survey)
#2138AB
ΔE00 8.40
Royal
#0C1793
ΔE00 8.46
Marine
#042E60
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F78 #74782F
analogous
#2F4F78 #332F78 #582F78
triadic
#332F78 #78332F #2F7833
tetradic
#332F78 #782F4F #74782F #2F7858
square
#332F78 #782F4F #74782F #2F7858
split-complementary
#332F78 #78582F #4F782F
monochromatic
#0E0D20 #201E4C #332F78 #4640A4 #6660C1
Accessibility & contrast
On white
11.55
#332F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#332F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F78
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F78 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#11404E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #332f78; /* rgb */ color: rgb(51, 47, 120); /* oklch */ color: oklch(35.4% 0.121 280.7);
Tailwind
colors: {
custom: {
50: '#7267a0',
500: '#332f78',
950: '#000000',
},
}SCSS
$custom: #332f78; $custom-light: #7267a0; $custom-dark: #000000;
JSON
{
"hex": "#332f78",
"rgb": {
"r": 51,
"g": 47,
"b": 120
},
"hsl": {
"h": 243.288,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.3545,
"c": 0.12069,
"h": 280.7
},
"luminance": 0.04093
}Semantic roles & 50–950 ramp
primary
#332F78
secondary
#A4A85B
accent
#D354CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E