#2F2AAB#2F2AAB
#2F2AAB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.196 H 274.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2AAB |
|---|---|
| RGB | rgb(47, 42, 171) |
| HSL | hsl(242, 61%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(72.5%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(27.30, 44.18, -67.43) |
| CIE-LCH | lch(27.30, 80.61, 303.23°) |
| OKLab | oklab(39.22% 0.0146 -0.195) |
| OKLCH | oklch(39.22% 0.196 274.3) |
| XYZ | xyz(9.3485, 5.1996, 39.0311) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.69
Sapphire (survey)
#2138AB
ΔE00 4.31
True Blue
#010FCC
ΔE00 5.47
Royal
#0C1793
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 5.97
Ultramarine
#2000B1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2AAB #A6AB2A
analogous
#2A65AB #2F2AAB #702AAB
triadic
#2F2AAB #AB2F2A #2AAB2F
tetradic
#2F2AAB #AB2A65 #A6AB2A #2AAB70
square
#2F2AAB #AB2A65 #A6AB2A #2AAB70
split-complementary
#2F2AAB #AB702A #65AB2A
monochromatic
#141249 #211E7A #2F2AAB #4742D1 #7773DD
Accessibility & contrast
On white
10.29
#2F2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F2AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2AAB
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2AAB | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2aab; /* rgb */ color: rgb(47, 42, 171); /* oklch */ color: oklch(39.2% 0.196 274.3);
Tailwind
colors: {
custom: {
50: '#7b66c5',
500: '#2f2aab',
950: '#000000',
},
}SCSS
$custom: #2f2aab; $custom-light: #7b66c5; $custom-dark: #000000;
JSON
{
"hex": "#2f2aab",
"rgb": {
"r": 47,
"g": 42,
"b": 171
},
"hsl": {
"h": 242.326,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.39223,
"c": 0.19556,
"h": 274.3
},
"luminance": 0.05201
}Semantic roles & 50–950 ramp
primary
#2F2AAB
secondary
#C1C46D
accent
#E444DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82