#2F29A2#2F29A2
#2F29A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.185 H 275.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F29A2 |
|---|---|
| RGB | rgb(47, 41, 162) |
| HSL | hsl(243, 60%, 40%) |
| HSV | hsv(243, 75%, 64%) |
| CMYK | cmyk(71%, 74.7%, 0%, 36.5%) |
| CIE-LAB | lab(26.15, 41.77, -63.88) |
| CIE-LCH | lch(26.15, 76.32, 303.18°) |
| OKLab | oklab(38.13% 0.0169 -0.1847) |
| OKLCH | oklch(38.13% 0.185 275.2) |
| XYZ | xyz(8.4847, 4.7980, 34.6544) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.65
Royal
#0C1793
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 6.06
Royal Blue (survey)
#0504AA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F29A2 #9CA229
analogous
#2960A2 #2F29A2 #6B29A2
triadic
#2F29A2 #A22F29 #29A22F
tetradic
#2F29A2 #A22960 #9CA229 #29A26B
square
#2F29A2 #A22960 #9CA229 #29A26B
split-complementary
#2F29A2 #A26B29 #60A229
monochromatic
#131040 #211D71 #2F29A2 #423BCD #716CDA
Accessibility & contrast
On white
10.72
#2F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F29A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F29A2
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F29A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F29A2 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f29a2; /* rgb */ color: rgb(47, 41, 162); /* oklch */ color: oklch(38.1% 0.185 275.2);
Tailwind
colors: {
custom: {
50: '#7965bf',
500: '#2f29a2',
950: '#000000',
},
}SCSS
$custom: #2f29a2; $custom-light: #7965bf; $custom-dark: #000000;
JSON
{
"hex": "#2f29a2",
"rgb": {
"r": 47,
"g": 41,
"b": 162
},
"hsl": {
"h": 242.975,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.38131,
"c": 0.18545,
"h": 275.2
},
"luminance": 0.04799
}Semantic roles & 50–950 ramp
primary
#2F29A2
secondary
#BCC067
accent
#E345DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81