#322E8F#322E8F
#322E8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.155 H 277.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #322E8F |
|---|---|
| RGB | rgb(50, 46, 143) |
| HSL | hsl(242, 51%, 37%) |
| HSV | hsv(242, 68%, 56%) |
| CMYK | cmyk(65%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.61, 32.69, -53.12) |
| CIE-LCH | lch(25.61, 62.37, 301.61°) |
| OKLab | oklab(37.24% 0.0205 -0.1532) |
| OKLCH | oklch(37.24% 0.155 277.6) |
| XYZ | xyz(7.2487, 4.6147, 26.4900) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.41
Blueberry
#464196
ΔE00 5.74
Royal
#0C1793
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.90
Midnight Blue
#191970
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322E8F #8B8F2E
analogous
#2E5B8F #322E8F #632E8F
triadic
#322E8F #8F322E #2E8F32
tetradic
#322E8F #8F2E5B #8B8F2E #2E8F63
square
#322E8F #8F2E5B #8B8F2E #2E8F63
split-complementary
#322E8F #8F632E #5B8F2E
monochromatic
#121032 #221F61 #322E8F #423DBD #6D69CF
Accessibility & contrast
On white
10.92
#322E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#322E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322E8F
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322E8F | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #322e8f; /* rgb */ color: rgb(50, 46, 143); /* oklch */ color: oklch(37.2% 0.155 277.6);
Tailwind
colors: {
custom: {
50: '#7667b1',
500: '#322e8f',
950: '#000000',
},
}SCSS
$custom: #322e8f; $custom-light: #7667b1; $custom-dark: #000000;
JSON
{
"hex": "#322e8f",
"rgb": {
"r": 50,
"g": 46,
"b": 143
},
"hsl": {
"h": 242.474,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.37235,
"c": 0.15452,
"h": 277.6
},
"luminance": 0.04615
}Semantic roles & 50–950 ramp
primary
#322E8F
secondary
#B2B663
accent
#DB4DD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80