#2C29A3#2C29A3
#2C29A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.187 H 273.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C29A3 |
|---|---|
| RGB | rgb(44, 41, 163) |
| HSL | hsl(241, 60%, 40%) |
| HSV | hsv(241, 75%, 64%) |
| CMYK | cmyk(73%, 74.8%, 0%, 36.1%) |
| CIE-LAB | lab(26.05, 41.80, -64.65) |
| CIE-LCH | lch(26.05, 76.99, 302.89°) |
| OKLab | oklab(38.04% 0.0129 -0.187) |
| OKLCH | oklch(38.04% 0.187 273.9) |
| XYZ | xyz(8.4403, 4.7649, 35.1181) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.11
Sapphire (survey)
#2138AB
ΔE00 4.49
Royal
#0C1793
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 5.65
Ultramarine
#2000B1
ΔE00 6.04
Royal Blue (survey)
#0504AA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C29A3 #A0A329
analogous
#2963A3 #2C29A3 #6929A3
triadic
#2C29A3 #A32C29 #29A32C
tetradic
#2C29A3 #A32963 #A0A329 #29A369
square
#2C29A3 #A32963 #A0A329 #29A369
split-complementary
#2C29A3 #A36929 #63A329
monochromatic
#121041 #1F1D72 #2C29A3 #3F3BCE #6F6CDA
Accessibility & contrast
On white
10.75
#2C29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C29A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C29A3
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C29A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C29A3 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c29a3; /* rgb */ color: rgb(44, 41, 163); /* oklch */ color: oklch(38.0% 0.187 273.9);
Tailwind
colors: {
custom: {
50: '#7864bf',
500: '#2c29a3',
950: '#000000',
},
}SCSS
$custom: #2c29a3; $custom-light: #7864bf; $custom-dark: #000000;
JSON
{
"hex": "#2c29a3",
"rgb": {
"r": 44,
"g": 41,
"b": 163
},
"hsl": {
"h": 241.475,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.3804,
"c": 0.18745,
"h": 273.9
},
"luminance": 0.04766
}Semantic roles & 50–950 ramp
primary
#2C29A3
secondary
#BFC167
accent
#E345DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81