#2A29AB#2A29AB
#2A29AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.198 H 272.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29AB |
|---|---|
| RGB | rgb(42, 41, 171) |
| HSL | hsl(240, 61%, 42%) |
| HSV | hsv(240, 76%, 67%) |
| CMYK | cmyk(75.4%, 76%, 0%, 32.9%) |
| CIE-LAB | lab(26.78, 44.29, -68.28) |
| CIE-LCH | lch(26.78, 81.39, 302.97°) |
| OKLab | oklab(38.78% 0.0089 -0.1976) |
| OKLCH | oklch(38.78% 0.198 272.6) |
| XYZ | xyz(9.0960, 5.0174, 39.0093) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.33
True Blue
#010FCC
ΔE00 5.29
Royal
#0C1793
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.64
Ultramarine
#2000B1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29AB #AAAB29
analogous
#2969AB #2A29AB #6B29AB
triadic
#2A29AB #AB2A29 #29AB2A
tetradic
#2A29AB #AB2969 #AAAB29 #29AB6B
square
#2A29AB #AB2969 #AAAB29 #29AB6B
split-complementary
#2A29AB #AB6B29 #69AB29
monochromatic
#121148 #1E1D7A #2A29AB #4140D1 #7271DD
Accessibility & contrast
On white
10.48
#2A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A29AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29AB
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29AB | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a29ab; /* rgb */ color: rgb(42, 41, 171); /* oklch */ color: oklch(38.8% 0.198 272.6);
Tailwind
colors: {
custom: {
50: '#7965c5',
500: '#2a29ab',
950: '#000000',
},
}SCSS
$custom: #2a29ab; $custom-light: #7965c5; $custom-dark: #000000;
JSON
{
"hex": "#2a29ab",
"rgb": {
"r": 42,
"g": 41,
"b": 171
},
"hsl": {
"h": 240.462,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.38777,
"c": 0.19781,
"h": 272.6
},
"luminance": 0.05018
}Semantic roles & 50–950 ramp
primary
#2A29AB
secondary
#C3C46C
accent
#E443E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82