#2A29A5#2A29A5
#2A29A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.190 H 273.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29A5 |
|---|---|
| RGB | rgb(42, 41, 165) |
| HSL | hsl(240, 60%, 40%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.5%, 75.2%, 0%, 35.3%) |
| CIE-LAB | lab(26.14, 42.28, -65.73) |
| CIE-LCH | lch(26.14, 78.15, 302.75°) |
| OKLab | oklab(38.13% 0.0101 -0.1902) |
| OKLCH | oklch(38.13% 0.19 273) |
| XYZ | xyz(8.5370, 4.7939, 36.0654) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.37
Royal
#0C1793
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.60
True Blue
#010FCC
ΔE00 5.90
Ultramarine
#2000B1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29A5 #A4A529
analogous
#2966A5 #2A29A5 #6829A5
triadic
#2A29A5 #A52A29 #29A52A
tetradic
#2A29A5 #A52966 #A4A529 #29A568
square
#2A29A5 #A52966 #A4A529 #29A568
split-complementary
#2A29A5 #A56829 #66A529
monochromatic
#111143 #1E1D74 #2A29A5 #3E3DCF #6E6EDB
Accessibility & contrast
On white
10.72
#2A29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A29A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29A5
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29A5 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a29a5; /* rgb */ color: rgb(42, 41, 165); /* oklch */ color: oklch(38.1% 0.190 273.0);
Tailwind
colors: {
custom: {
50: '#7864c1',
500: '#2a29a5',
950: '#000000',
},
}SCSS
$custom: #2a29a5; $custom-light: #7864c1; $custom-dark: #000000;
JSON
{
"hex": "#2a29a5",
"rgb": {
"r": 42,
"g": 41,
"b": 165
},
"hsl": {
"h": 240.484,
"s": 60.194,
"l": 40.392
},
"oklch": {
"l": 0.38129,
"c": 0.19045,
"h": 273
},
"luminance": 0.04795
}Semantic roles & 50–950 ramp
primary
#2A29A5
secondary
#C1C268
accent
#E344E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81