#322F9D#322F9D
#322F9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.172 H 276.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #322F9D |
|---|---|
| RGB | rgb(50, 47, 157) |
| HSL | hsl(242, 54%, 40%) |
| HSV | hsv(242, 70%, 62%) |
| CMYK | cmyk(68.2%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(27.14, 36.89, -59.20) |
| CIE-LCH | lch(27.14, 69.75, 301.93°) |
| OKLab | oklab(38.74% 0.0179 -0.1709) |
| OKLCH | oklch(38.74% 0.172 276) |
| XYZ | xyz(8.4157, 5.1447, 32.4413) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Indigo Blue
#3A18B1
ΔE00 5.60
Blueberry
#464196
ΔE00 5.78
Royal
#0C1793
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322F9D #9A9D2F
analogous
#2F639D #322F9D #692F9D
triadic
#322F9D #9D322F #2F9D32
tetradic
#322F9D #9D2F63 #9A9D2F #2F9D69
square
#322F9D #9D2F63 #9A9D2F #2F9D69
split-complementary
#322F9D #9D692F #639D2F
monochromatic
#14133F #23216E #322F9D #4643C7 #7472D5
Accessibility & contrast
On white
10.35
#322F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#322F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322F9D
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322F9D | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #322f9d; /* rgb */ color: rgb(50, 47, 157); /* oklch */ color: oklch(38.7% 0.172 276.0);
Tailwind
colors: {
custom: {
50: '#7968bb',
500: '#322f9d',
950: '#000000',
},
}SCSS
$custom: #322f9d; $custom-light: #7968bb; $custom-dark: #000000;
JSON
{
"hex": "#322f9d",
"rgb": {
"r": 50,
"g": 47,
"b": 157
},
"hsl": {
"h": 241.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.38744,
"c": 0.17188,
"h": 276
},
"luminance": 0.05145
}Semantic roles & 50–950 ramp
primary
#322F9D
secondary
#BABC6B
accent
#DD4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81