#2A29A6#2A29A6
#2A29A6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.192 H 273.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29A6 |
|---|---|
| RGB | rgb(42, 41, 166) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.7%, 75.3%, 0%, 34.9%) |
| CIE-LAB | lab(26.25, 42.62, -66.15) |
| CIE-LCH | lch(26.25, 78.70, 302.79°) |
| OKLab | oklab(38.24% 0.0099 -0.1914) |
| OKLCH | oklch(38.24% 0.192 273) |
| XYZ | xyz(8.6284, 4.8304, 36.5466) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.36
Royal
#0C1793
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.59
True Blue
#010FCC
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29A6 #A5A629
analogous
#2966A6 #2A29A6 #6829A6
triadic
#2A29A6 #A62A29 #29A62A
tetradic
#2A29A6 #A62966 #A5A629 #29A668
square
#2A29A6 #A62966 #A5A629 #29A668
split-complementary
#2A29A6 #A66829 #66A629
monochromatic
#111144 #1E1D75 #2A29A6 #3E3DCF #6F6EDB
Accessibility & contrast
On white
10.68
#2A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A29A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29A6
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29A6 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a29a6; /* rgb */ color: rgb(42, 41, 166); /* oklch */ color: oklch(38.2% 0.192 273.0);
Tailwind
colors: {
custom: {
50: '#7864c2',
500: '#2a29a6',
950: '#000000',
},
}SCSS
$custom: #2a29a6; $custom-light: #7864c2; $custom-dark: #000000;
JSON
{
"hex": "#2a29a6",
"rgb": {
"r": 42,
"g": 41,
"b": 166
},
"hsl": {
"h": 240.48,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.38237,
"c": 0.19168,
"h": 273
},
"luminance": 0.04831
}Semantic roles & 50–950 ramp
primary
#2A29A6
secondary
#C1C269
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82