#2A29A4#2A29A4
#2A29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.189 H 273.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29A4 |
|---|---|
| RGB | rgb(42, 41, 164) |
| HSL | hsl(240, 60%, 40%) |
| HSV | hsv(240, 75%, 64%) |
| CMYK | cmyk(74.4%, 75%, 0%, 35.7%) |
| CIE-LAB | lab(26.03, 41.95, -65.30) |
| CIE-LCH | lch(26.03, 77.61, 302.72°) |
| OKLab | oklab(38.02% 0.0103 -0.1889) |
| OKLCH | oklch(38.02% 0.189 273.1) |
| XYZ | xyz(8.4464, 4.7576, 35.5879) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Sapphire (survey)
#2138AB
ΔE00 4.39
Royal
#0C1793
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 5.60
Ultramarine
#2000B1
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29A4 #A3A429
analogous
#2965A4 #2A29A4 #6829A4
triadic
#2A29A4 #A42A29 #29A42A
tetradic
#2A29A4 #A42965 #A3A429 #29A468
square
#2A29A4 #A42965 #A3A429 #29A468
split-complementary
#2A29A4 #A46829 #65A429
monochromatic
#111142 #1D1D73 #2A29A4 #3D3CCE #6E6DDA
Accessibility & contrast
On white
10.76
#2A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2A29A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29A4
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29A4 | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a29a4; /* rgb */ color: rgb(42, 41, 164); /* oklch */ color: oklch(38.0% 0.189 273.1);
Tailwind
colors: {
custom: {
50: '#7864c0',
500: '#2a29a4',
950: '#000000',
},
}SCSS
$custom: #2a29a4; $custom-light: #7864c0; $custom-dark: #000000;
JSON
{
"hex": "#2a29a4",
"rgb": {
"r": 42,
"g": 41,
"b": 164
},
"hsl": {
"h": 240.488,
"s": 60,
"l": 40.196
},
"oklch": {
"l": 0.38022,
"c": 0.18921,
"h": 273.1
},
"luminance": 0.04758
}Semantic roles & 50–950 ramp
primary
#2A29A4
secondary
#C0C168
accent
#E345E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81