#2F2DA4#2F2DA4
#2F2DA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.184 H 274.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA4 |
|---|---|
| RGB | rgb(47, 45, 164) |
| HSL | hsl(241, 57%, 41%) |
| HSV | hsv(241, 73%, 64%) |
| CMYK | cmyk(71.3%, 72.6%, 0%, 35.7%) |
| CIE-LAB | lab(27.19, 40.12, -63.38) |
| CIE-LCH | lch(27.19, 75.01, 302.34°) |
| OKLab | oklab(38.93% 0.0143 -0.1832) |
| OKLCH | oklch(38.93% 0.184 274.4) |
| XYZ | xyz(8.8093, 5.1606, 35.6466) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Indigo Blue
#3A18B1
ΔE00 4.74
Royal
#0C1793
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 6.62
Blueberry
#464196
ΔE00 6.63
True Blue
#010FCC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA4 #A2A42D
analogous
#2D66A4 #2F2DA4 #6A2DA4
triadic
#2F2DA4 #A42F2D #2DA42F
tetradic
#2F2DA4 #A42D66 #A2A42D #2DA46A
square
#2F2DA4 #A42D66 #A2A42D #2DA46A
split-complementary
#2F2DA4 #A46A2D #66A42D
monochromatic
#131344 #212074 #2F2DA4 #4543CB #7573D9
Accessibility & contrast
On white
10.33
#2F2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2DA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA4
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA4 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2da4; /* rgb */ color: rgb(47, 45, 164); /* oklch */ color: oklch(38.9% 0.184 274.4);
Tailwind
colors: {
custom: {
50: '#7967c0',
500: '#2f2da4',
950: '#000000',
},
}SCSS
$custom: #2f2da4; $custom-light: #7967c0; $custom-dark: #000000;
JSON
{
"hex": "#2f2da4",
"rgb": {
"r": 47,
"g": 45,
"b": 164
},
"hsl": {
"h": 241.008,
"s": 56.938,
"l": 40.98
},
"oklch": {
"l": 0.38929,
"c": 0.1838,
"h": 274.4
},
"luminance": 0.05161
}Semantic roles & 50–950 ramp
primary
#2F2DA4
secondary
#BFC06D
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81