#2A29A3#2A29A3
#2A29A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.188 H 273.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29A3 |
|---|---|
| RGB | rgb(42, 41, 163) |
| HSL | hsl(240, 60%, 40%) |
| HSV | hsv(240, 75%, 64%) |
| CMYK | cmyk(74.2%, 74.8%, 0%, 36.1%) |
| CIE-LAB | lab(25.93, 41.61, -64.87) |
| CIE-LCH | lch(25.93, 77.07, 302.68°) |
| OKLab | oklab(37.92% 0.0104 -0.1877) |
| OKLCH | oklch(37.92% 0.188 273.2) |
| XYZ | xyz(8.3564, 4.7216, 35.1142) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.42
Royal
#0C1793
ΔE00 4.86
Cobalt Blue
#030AA7
ΔE00 5.61
Ultramarine
#2000B1
ΔE00 6.06
Royal Blue (survey)
#0504AA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29A3 #A2A329
analogous
#2965A3 #2A29A3 #6729A3
triadic
#2A29A3 #A32A29 #29A32A
tetradic
#2A29A3 #A32965 #A2A329 #29A367
square
#2A29A3 #A32965 #A2A329 #29A367
split-complementary
#2A29A3 #A36729 #65A329
monochromatic
#111041 #1D1D72 #2A29A3 #3D3BCE #6D6CDA
Accessibility & contrast
On white
10.80
#2A29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2A29A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29A3
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29A3 | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a29a3; /* rgb */ color: rgb(42, 41, 163); /* oklch */ color: oklch(37.9% 0.188 273.2);
Tailwind
colors: {
custom: {
50: '#7764bf',
500: '#2a29a3',
950: '#000000',
},
}SCSS
$custom: #2a29a3; $custom-light: #7764bf; $custom-dark: #000000;
JSON
{
"hex": "#2a29a3",
"rgb": {
"r": 42,
"g": 41,
"b": 163
},
"hsl": {
"h": 240.492,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.37915,
"c": 0.18797,
"h": 273.2
},
"luminance": 0.04722
}Semantic roles & 50–950 ramp
primary
#2A29A3
secondary
#C0C167
accent
#E345E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81