#2F29AB#2F29AB
#2F29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.197 H 274.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F29AB |
|---|---|
| RGB | rgb(47, 41, 171) |
| HSL | hsl(243, 61%, 42%) |
| HSV | hsv(243, 76%, 67%) |
| CMYK | cmyk(72.5%, 76%, 0%, 32.9%) |
| CIE-LAB | lab(27.10, 44.73, -67.75) |
| CIE-LCH | lch(27.10, 81.18, 303.44°) |
| OKLab | oklab(39.09% 0.0151 -0.196) |
| OKLCH | oklch(39.09% 0.197 274.4) |
| XYZ | xyz(9.3135, 5.1296, 39.0195) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.47
Sapphire (survey)
#2138AB
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.32
Royal
#0C1793
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F29AB #A5AB29
analogous
#2964AB #2F29AB #7029AB
triadic
#2F29AB #AB2F29 #29AB2F
tetradic
#2F29AB #AB2964 #A5AB29 #29AB70
square
#2F29AB #AB2964 #A5AB29 #29AB70
split-complementary
#2F29AB #AB7029 #64AB29
monochromatic
#141148 #211D7A #2F29AB #4740D1 #7671DD
Accessibility & contrast
On white
10.37
#2F29AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F29AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F29AB
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F29AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F29AB | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f29ab; /* rgb */ color: rgb(47, 41, 171); /* oklch */ color: oklch(39.1% 0.197 274.4);
Tailwind
colors: {
custom: {
50: '#7b65c5',
500: '#2f29ab',
950: '#000000',
},
}SCSS
$custom: #2f29ab; $custom-light: #7b65c5; $custom-dark: #000000;
JSON
{
"hex": "#2f29ab",
"rgb": {
"r": 47,
"g": 41,
"b": 171
},
"hsl": {
"h": 242.769,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.39085,
"c": 0.19653,
"h": 274.4
},
"luminance": 0.0513
}Semantic roles & 50–950 ramp
primary
#2F29AB
secondary
#C0C46C
accent
#E443DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82