#2F2DA2#2F2DA2
#2F2DA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.181 H 274.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA2 |
|---|---|
| RGB | rgb(47, 45, 162) |
| HSL | hsl(241, 57%, 41%) |
| HSV | hsv(241, 72%, 64%) |
| CMYK | cmyk(71%, 72.2%, 0%, 36.5%) |
| CIE-LAB | lab(26.99, 39.44, -62.50) |
| CIE-LCH | lch(26.99, 73.91, 302.26°) |
| OKLab | oklab(38.73% 0.0146 -0.1807) |
| OKLCH | oklch(38.73% 0.181 274.6) |
| XYZ | xyz(8.6301, 5.0889, 34.7029) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.73
Indigo Blue
#3A18B1
ΔE00 4.88
Royal
#0C1793
ΔE00 5.76
Blueberry
#464196
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.65
True Blue
#010FCC
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA2 #A0A22D
analogous
#2D65A2 #2F2DA2 #6A2DA2
triadic
#2F2DA2 #A22F2D #2DA22F
tetradic
#2F2DA2 #A22D65 #A0A22D #2DA26A
square
#2F2DA2 #A22D65 #A0A22D #2DA26A
split-complementary
#2F2DA2 #A26A2D #65A22D
monochromatic
#131242 #212072 #2F2DA2 #4442CA #7372D8
Accessibility & contrast
On white
10.41
#2F2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F2DA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA2
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA2 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2da2; /* rgb */ color: rgb(47, 45, 162); /* oklch */ color: oklch(38.7% 0.181 274.6);
Tailwind
colors: {
custom: {
50: '#7967bf',
500: '#2f2da2',
950: '#000000',
},
}SCSS
$custom: #2f2da2; $custom-light: #7967bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2da2",
"rgb": {
"r": 47,
"g": 45,
"b": 162
},
"hsl": {
"h": 241.026,
"s": 56.522,
"l": 40.588
},
"oklch": {
"l": 0.38725,
"c": 0.18127,
"h": 274.6
},
"luminance": 0.0509
}Semantic roles & 50–950 ramp
primary
#2F2DA2
secondary
#BEBF6C
accent
#E048DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81