#2F29A4#2F29A4
#2F29A4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.188 H 275.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F29A4 |
|---|---|
| RGB | rgb(47, 41, 164) |
| HSL | hsl(243, 60%, 40%) |
| HSV | hsv(243, 75%, 64%) |
| CMYK | cmyk(71.3%, 75%, 0%, 35.7%) |
| CIE-LAB | lab(26.36, 42.44, -64.74) |
| CIE-LCH | lch(26.36, 77.41, 303.24°) |
| OKLab | oklab(38.34% 0.0165 -0.1872) |
| OKLCH | oklch(38.34% 0.188 275) |
| XYZ | xyz(8.6639, 4.8697, 35.5981) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.60
Royal
#0C1793
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.98
True Blue
#010FCC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F29A4 #9EA429
analogous
#2960A4 #2F29A4 #6D29A4
triadic
#2F29A4 #A42F29 #29A42F
tetradic
#2F29A4 #A42960 #9EA429 #29A46D
square
#2F29A4 #A42960 #9EA429 #29A46D
split-complementary
#2F29A4 #A46D29 #60A429
monochromatic
#131142 #211D73 #2F29A4 #433CCE #726DDA
Accessibility & contrast
On white
10.64
#2F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F29A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F29A4
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F29A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F29A4 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f29a4; /* rgb */ color: rgb(47, 41, 164); /* oklch */ color: oklch(38.3% 0.188 275.0);
Tailwind
colors: {
custom: {
50: '#7a65c0',
500: '#2f29a4',
950: '#000000',
},
}SCSS
$custom: #2f29a4; $custom-light: #7a65c0; $custom-dark: #000000;
JSON
{
"hex": "#2f29a4",
"rgb": {
"r": 47,
"g": 41,
"b": 164
},
"hsl": {
"h": 242.927,
"s": 60,
"l": 40.196
},
"oklch": {
"l": 0.38341,
"c": 0.18794,
"h": 275
},
"luminance": 0.04871
}Semantic roles & 50–950 ramp
primary
#2F29A4
secondary
#BDC168
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81