#2C29A2#2C29A2
#2C29A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.186 H 274.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C29A2 |
|---|---|
| RGB | rgb(44, 41, 162) |
| HSL | hsl(241, 60%, 40%) |
| HSV | hsv(241, 75%, 64%) |
| CMYK | cmyk(72.8%, 74.7%, 0%, 36.5%) |
| CIE-LAB | lab(25.95, 41.47, -64.22) |
| CIE-LCH | lch(25.95, 76.44, 302.85°) |
| OKLab | oklab(37.93% 0.0131 -0.1857) |
| OKLCH | oklch(37.93% 0.186 274) |
| XYZ | xyz(8.3511, 4.7292, 34.6481) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 4.87
Cobalt Blue
#030AA7
ΔE00 5.66
Ultramarine
#2000B1
ΔE00 6.08
Royal Blue (survey)
#0504AA
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C29A2 #9FA229
analogous
#2962A2 #2C29A2 #6929A2
triadic
#2C29A2 #A22C29 #29A22C
tetradic
#2C29A2 #A22962 #9FA229 #29A269
square
#2C29A2 #A22962 #9FA229 #29A269
split-complementary
#2C29A2 #A26929 #62A229
monochromatic
#111040 #1F1D71 #2C29A2 #3E3BCD #6E6CDA
Accessibility & contrast
On white
10.79
#2C29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C29A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C29A2
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C29A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C29A2 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c29a2; /* rgb */ color: rgb(44, 41, 162); /* oklch */ color: oklch(37.9% 0.186 274.0);
Tailwind
colors: {
custom: {
50: '#7864bf',
500: '#2c29a2',
950: '#000000',
},
}SCSS
$custom: #2c29a2; $custom-light: #7864bf; $custom-dark: #000000;
JSON
{
"hex": "#2c29a2",
"rgb": {
"r": 44,
"g": 41,
"b": 162
},
"hsl": {
"h": 241.488,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.37933,
"c": 0.1862,
"h": 274
},
"luminance": 0.0473
}Semantic roles & 50–950 ramp
primary
#2C29A2
secondary
#BEC067
accent
#E345DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81