#2A329C#2A329C
#2A329C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 272.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A329C |
|---|---|
| RGB | rgb(42, 50, 156) |
| HSL | hsl(236, 58%, 39%) |
| HSV | hsv(236, 73%, 61%) |
| CMYK | cmyk(73.1%, 67.9%, 0%, 38.8%) |
| CIE-LAB | lab(27.22, 33.68, -58.48) |
| CIE-LCH | lch(27.22, 67.48, 299.94°) |
| OKLab | oklab(38.64% 0.0063 -0.169) |
| OKLCH | oklch(38.64% 0.169 272.1) |
| XYZ | xyz(8.0942, 5.1729, 32.0179) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blueberry
#464196
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 6.19
Royal
#0C1793
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 6.87
Ocean Blue
#4F42B5
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A329C #9C942A
analogous
#2A6B9C #2A329C #5B2A9C
triadic
#2A329C #9C2A32 #329C2A
tetradic
#2A329C #9C2A6B #9C942A #2A9C5B
square
#2A329C #9C2A6B #9C942A #2A9C5B
split-complementary
#2A329C #9C5B2A #6B9C2A
monochromatic
#10133C #1D236C #2A329C #3944CA #6A71D7
Accessibility & contrast
On white
10.32
#2A329C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A329C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A329C
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A329C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A329C | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a329c; /* rgb */ color: rgb(42, 50, 156); /* oklch */ color: oklch(38.6% 0.169 272.1);
Tailwind
colors: {
custom: {
50: '#756aba',
500: '#2a329c',
950: '#000000',
},
}SCSS
$custom: #2a329c; $custom-light: #756aba; $custom-dark: #000000;
JSON
{
"hex": "#2a329c",
"rgb": {
"r": 42,
"g": 50,
"b": 156
},
"hsl": {
"h": 235.789,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.38635,
"c": 0.16917,
"h": 272.1
},
"luminance": 0.05174
}Semantic roles & 50–950 ramp
primary
#2A329C
secondary
#BDB765
accent
#D647E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81