#2D29AB#2D29AB
#2D29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 273.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2D29AB |
|---|---|
| RGB | rgb(45, 41, 171) |
| HSL | hsl(242, 61%, 42%) |
| HSV | hsv(242, 76%, 67%) |
| CMYK | cmyk(73.7%, 76%, 0%, 32.9%) |
| CIE-LAB | lab(26.97, 44.55, -67.97) |
| CIE-LCH | lch(26.97, 81.27, 303.24°) |
| OKLab | oklab(38.96% 0.0126 -0.1966) |
| OKLCH | oklch(38.96% 0.197 273.7) |
| XYZ | xyz(9.2234, 5.0831, 39.0152) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.57
Sapphire (survey)
#2138AB
ΔE00 4.45
True Blue
#010FCC
ΔE00 5.30
Royal
#0C1793
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D29AB #A7AB29
analogous
#2966AB #2D29AB #6E29AB
triadic
#2D29AB #AB2D29 #29AB2D
tetradic
#2D29AB #AB2966 #A7AB29 #29AB6E
square
#2D29AB #AB2966 #A7AB29 #29AB6E
split-complementary
#2D29AB #AB6E29 #66AB29
monochromatic
#131148 #201D7A #2D29AB #4440D1 #7571DD
Accessibility & contrast
On white
10.41
#2D29AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2D29AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D29AB
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D29AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D29AB | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2d29ab; /* rgb */ color: rgb(45, 41, 171); /* oklch */ color: oklch(39.0% 0.197 273.7);
Tailwind
colors: {
custom: {
50: '#7a65c5',
500: '#2d29ab',
950: '#000000',
},
}SCSS
$custom: #2d29ab; $custom-light: #7a65c5; $custom-dark: #000000;
JSON
{
"hex": "#2d29ab",
"rgb": {
"r": 45,
"g": 41,
"b": 171
},
"hsl": {
"h": 241.846,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.38958,
"c": 0.19704,
"h": 273.7
},
"luminance": 0.05084
}Semantic roles & 50–950 ramp
primary
#2D29AB
secondary
#C1C46C
accent
#E443DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82