#2A329E#2A329E
#2A329E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.172 H 272.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A329E |
|---|---|
| RGB | rgb(42, 50, 158) |
| HSL | hsl(236, 58%, 39%) |
| HSV | hsv(236, 73%, 62%) |
| CMYK | cmyk(73.4%, 68.4%, 0%, 38%) |
| CIE-LAB | lab(27.41, 34.40, -59.38) |
| CIE-LCH | lch(27.41, 68.63, 300.08°) |
| OKLab | oklab(38.83% 0.0061 -0.1717) |
| OKLCH | oklch(38.83% 0.172 272) |
| XYZ | xyz(8.2649, 5.2412, 32.9172) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blueberry
#464196
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 6.69
Royal
#0C1793
ΔE00 6.73
Ocean Blue
#4F42B5
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A329E #9E962A
analogous
#2A6C9E #2A329E #5C2A9E
triadic
#2A329E #9E2A32 #329E2A
tetradic
#2A329E #9E2A6C #9E962A #2A9E5C
square
#2A329E #9E2A6C #9E962A #2A9E5C
split-complementary
#2A329E #9E5C2A #6C9E2A
monochromatic
#10133D #1D236E #2A329E #3A44CB #6B72D8
Accessibility & contrast
On white
10.25
#2A329E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A329E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A329E
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A329E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A329E | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a329e; /* rgb */ color: rgb(42, 50, 158); /* oklch */ color: oklch(38.8% 0.172 272.0);
Tailwind
colors: {
custom: {
50: '#756abc',
500: '#2a329e',
950: '#000000',
},
}SCSS
$custom: #2a329e; $custom-light: #756abc; $custom-dark: #000000;
JSON
{
"hex": "#2a329e",
"rgb": {
"r": 42,
"g": 50,
"b": 158
},
"hsl": {
"h": 235.862,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.3883,
"c": 0.17181,
"h": 272
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#2A329E
secondary
#BEB866
accent
#D747E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81