#2F29A6#2F29A6
#2F29A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.190 H 274.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F29A6 |
|---|---|
| RGB | rgb(47, 41, 166) |
| HSL | hsl(243, 60%, 41%) |
| HSV | hsv(243, 75%, 65%) |
| CMYK | cmyk(71.7%, 75.3%, 0%, 34.9%) |
| CIE-LAB | lab(26.57, 43.10, -65.61) |
| CIE-LCH | lch(26.57, 78.50, 303.30°) |
| OKLab | oklab(38.55% 0.0161 -0.1897) |
| OKLCH | oklch(38.55% 0.19 274.8) |
| XYZ | xyz(8.8459, 4.9425, 36.5568) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.56
Royal
#0C1793
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.70
True Blue
#010FCC
ΔE00 5.81
Ultramarine
#2000B1
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F29A6 #A0A629
analogous
#2961A6 #2F29A6 #6D29A6
triadic
#2F29A6 #A62F29 #29A62F
tetradic
#2F29A6 #A62961 #A0A629 #29A66D
square
#2F29A6 #A62961 #A0A629 #29A66D
split-complementary
#2F29A6 #A66D29 #61A629
monochromatic
#131144 #211D75 #2F29A6 #443DCF #736EDB
Accessibility & contrast
On white
10.56
#2F29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F29A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F29A6
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F29A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F29A6 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f29a6; /* rgb */ color: rgb(47, 41, 166); /* oklch */ color: oklch(38.6% 0.190 274.8);
Tailwind
colors: {
custom: {
50: '#7a65c2',
500: '#2f29a6',
950: '#000000',
},
}SCSS
$custom: #2f29a6; $custom-light: #7a65c2; $custom-dark: #000000;
JSON
{
"hex": "#2f29a6",
"rgb": {
"r": 47,
"g": 41,
"b": 166
},
"hsl": {
"h": 242.88,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.38552,
"c": 0.1904,
"h": 274.8
},
"luminance": 0.04943
}Semantic roles & 50–950 ramp
primary
#2F29A6
secondary
#BEC269
accent
#E444DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82