#2F29A3#2F29A3
#2F29A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.187 H 275.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F29A3 |
|---|---|
| RGB | rgb(47, 41, 163) |
| HSL | hsl(243, 60%, 40%) |
| HSV | hsv(243, 75%, 64%) |
| CMYK | cmyk(71.2%, 74.8%, 0%, 36.1%) |
| CIE-LAB | lab(26.26, 42.11, -64.31) |
| CIE-LCH | lch(26.26, 76.87, 303.21°) |
| OKLab | oklab(38.24% 0.0167 -0.1859) |
| OKLCH | oklch(38.24% 0.187 275.1) |
| XYZ | xyz(8.5739, 4.8337, 35.1244) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.62
Royal
#0C1793
ΔE00 5.06
Cobalt Blue
#030AA7
ΔE00 5.72
Ultramarine
#2000B1
ΔE00 6.02
True Blue
#010FCC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F29A3 #9DA329
analogous
#2960A3 #2F29A3 #6C29A3
triadic
#2F29A3 #A32F29 #29A32F
tetradic
#2F29A3 #A32960 #9DA329 #29A36C
square
#2F29A3 #A32960 #9DA329 #29A36C
split-complementary
#2F29A3 #A36C29 #60A329
monochromatic
#131041 #211D72 #2F29A3 #433BCE #726CDA
Accessibility & contrast
On white
10.68
#2F29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F29A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F29A3
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F29A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F29A3 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f29a3; /* rgb */ color: rgb(47, 41, 163); /* oklch */ color: oklch(38.2% 0.187 275.1);
Tailwind
colors: {
custom: {
50: '#7965bf',
500: '#2f29a3',
950: '#000000',
},
}SCSS
$custom: #2f29a3; $custom-light: #7965bf; $custom-dark: #000000;
JSON
{
"hex": "#2f29a3",
"rgb": {
"r": 47,
"g": 41,
"b": 163
},
"hsl": {
"h": 242.951,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.38236,
"c": 0.18669,
"h": 275.1
},
"luminance": 0.04835
}Semantic roles & 50–950 ramp
primary
#2F29A3
secondary
#BCC167
accent
#E345DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81