#22328F#22328F
#22328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.154 H 269.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #22328F |
|---|---|
| RGB | rgb(34, 50, 143) |
| HSL | hsl(231, 62%, 35%) |
| HSV | hsv(231, 76%, 56%) |
| CMYK | cmyk(76.2%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.57, 27.92, -53.21) |
| CIE-LCH | lch(25.57, 60.09, 297.69°) |
| OKLab | oklab(36.94% -0.0013 -0.1538) |
| OKLCH | oklch(36.94% 0.154 269.5) |
| XYZ | xyz(6.7565, 4.6037, 26.5138) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.19
Blueberry
#464196
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.31
Royal
#0C1793
ΔE00 7.08
Midnight Blue
#191970
ΔE00 7.75
Cobalt
#0047AB
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22328F #8F7F22
analogous
#22688F #22328F #49228F
triadic
#22328F #8F2232 #328F22
tetradic
#22328F #8F2268 #8F7F22 #228F49
square
#22328F #8F2268 #8F7F22 #228F49
split-complementary
#22328F #8F4922 #688F22
monochromatic
#0A0F2C #16215E #22328F #2E43C0 #5568D7
Accessibility & contrast
On white
10.93
#22328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#22328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22328F
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22328F | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #22328f; /* rgb */ color: rgb(34, 50, 143); /* oklch */ color: oklch(36.9% 0.154 269.5);
Tailwind
colors: {
custom: {
50: '#6f69b1',
500: '#22328f',
950: '#000000',
},
}SCSS
$custom: #22328f; $custom-light: #6f69b1; $custom-dark: #000000;
JSON
{
"hex": "#22328f",
"rgb": {
"r": 34,
"g": 50,
"b": 143
},
"hsl": {
"h": 231.193,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.36941,
"c": 0.15384,
"h": 269.5
},
"luminance": 0.04604
}Semantic roles & 50–950 ramp
primary
#22328F
secondary
#BAAB52
accent
#CD43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80