#2A29A8#2A29A8
#2A29A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.194 H 272.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A29A8 |
|---|---|
| RGB | rgb(42, 41, 168) |
| HSL | hsl(240, 61%, 41%) |
| HSV | hsv(240, 76%, 66%) |
| CMYK | cmyk(75%, 75.6%, 0%, 34.1%) |
| CIE-LAB | lab(26.46, 43.29, -67.01) |
| CIE-LCH | lch(26.46, 79.78, 302.86°) |
| OKLab | oklab(38.45% 0.0095 -0.1939) |
| OKLCH | oklch(38.45% 0.194 272.8) |
| XYZ | xyz(8.8133, 4.9044, 37.5204) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.34
Royal
#0C1793
ΔE00 5.22
True Blue
#010FCC
ΔE00 5.59
Cobalt Blue
#030AA7
ΔE00 5.60
Ultramarine
#2000B1
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A29A8 #A7A829
analogous
#2967A8 #2A29A8 #6929A8
triadic
#2A29A8 #A82A29 #29A82A
tetradic
#2A29A8 #A82967 #A7A829 #29A869
square
#2A29A8 #A82967 #A7A829 #29A869
split-complementary
#2A29A8 #A86929 #67A829
monochromatic
#111146 #1E1D77 #2A29A8 #3F3ED0 #706FDC
Accessibility & contrast
On white
10.60
#2A29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2A29A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A29A8
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A29A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A29A8 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a29a8; /* rgb */ color: rgb(42, 41, 168); /* oklch */ color: oklch(38.5% 0.194 272.8);
Tailwind
colors: {
custom: {
50: '#7965c3',
500: '#2a29a8',
950: '#000000',
},
}SCSS
$custom: #2a29a8; $custom-light: #7965c3; $custom-dark: #000000;
JSON
{
"hex": "#2a29a8",
"rgb": {
"r": 42,
"g": 41,
"b": 168
},
"hsl": {
"h": 240.472,
"s": 60.766,
"l": 40.98
},
"oklch": {
"l": 0.38452,
"c": 0.19414,
"h": 272.8
},
"luminance": 0.04905
}Semantic roles & 50–950 ramp
primary
#2A29A8
secondary
#C2C36A
accent
#E444E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82