#2A349E#2A349E
#2A349E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.169 H 271.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A349E |
|---|---|
| RGB | rgb(42, 52, 158) |
| HSL | hsl(235, 58%, 39%) |
| HSV | hsv(235, 73%, 62%) |
| CMYK | cmyk(73.4%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(27.89, 33.12, -58.60) |
| CIE-LCH | lch(27.89, 67.31, 299.47°) |
| OKLab | oklab(39.18% 0.0049 -0.1694) |
| OKLCH | oklch(39.18% 0.169 271.6) |
| XYZ | xyz(8.3523, 5.4160, 32.9463) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blueberry
#464196
ΔE00 5.26
Darkslateblue
#483D8B
ΔE00 6.14
Blue Blue
#2242C7
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 6.64
Indigo Blue
#3A18B1
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A349E #9E942A
analogous
#2A6E9E #2A349E #5A2A9E
triadic
#2A349E #9E2A34 #349E2A
tetradic
#2A349E #9E2A6E #9E942A #2A9E5A
square
#2A349E #9E2A6E #9E942A #2A9E5A
split-complementary
#2A349E #9E5A2A #6E9E2A
monochromatic
#10143D #1D246E #2A349E #3A47CB #6B74D8
Accessibility & contrast
On white
10.08
#2A349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2A349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A349E
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A349E | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a349e; /* rgb */ color: rgb(42, 52, 158); /* oklch */ color: oklch(39.2% 0.169 271.6);
Tailwind
colors: {
custom: {
50: '#756bbc',
500: '#2a349e',
950: '#000000',
},
}SCSS
$custom: #2a349e; $custom-light: #756bbc; $custom-dark: #000000;
JSON
{
"hex": "#2a349e",
"rgb": {
"r": 42,
"g": 52,
"b": 158
},
"hsl": {
"h": 234.828,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.39177,
"c": 0.16948,
"h": 271.6
},
"luminance": 0.05417
}Semantic roles & 50–950 ramp
primary
#2A349E
secondary
#BEB766
accent
#D447E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81