#2A329B#2A329B
#2A329B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.168 H 272.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2A329B |
|---|---|
| RGB | rgb(42, 50, 155) |
| HSL | hsl(236, 57%, 39%) |
| HSV | hsv(236, 73%, 61%) |
| CMYK | cmyk(72.9%, 67.7%, 0%, 39.2%) |
| CIE-LAB | lab(27.13, 33.32, -58.02) |
| CIE-LCH | lch(27.13, 66.91, 299.87°) |
| OKLab | oklab(38.54% 0.0064 -0.1677) |
| OKLCH | oklch(38.54% 0.168 272.2) |
| XYZ | xyz(8.0098, 5.1392, 31.5738) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Blueberry
#464196
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.13
Royal
#0C1793
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 6.96
Ocean Blue
#4F42B5
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A329B #9B932A
analogous
#2A6A9B #2A329B #5A2A9B
triadic
#2A329B #9B2A32 #329B2A
tetradic
#2A329B #9B2A6A #9B932A #2A9B5A
square
#2A329B #9B2A6A #9B932A #2A9B5A
split-complementary
#2A329B #9B5A2A #6A9B2A
monochromatic
#10133B #1D226B #2A329B #3943C9 #6971D6
Accessibility & contrast
On white
10.36
#2A329B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A329B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A329B
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A329B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A329B | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a329b; /* rgb */ color: rgb(42, 50, 155); /* oklch */ color: oklch(38.5% 0.168 272.2);
Tailwind
colors: {
custom: {
50: '#756ab9',
500: '#2a329b',
950: '#000000',
},
}SCSS
$custom: #2a329b; $custom-light: #756ab9; $custom-dark: #000000;
JSON
{
"hex": "#2a329b",
"rgb": {
"r": 42,
"g": 50,
"b": 155
},
"hsl": {
"h": 235.752,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.38538,
"c": 0.16784,
"h": 272.2
},
"luminance": 0.0514
}Semantic roles & 50–950 ramp
primary
#2A329B
secondary
#BDB764
accent
#D647E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81