#2F2EA2#2F2EA2
#2F2EA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.180 H 274.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA2 |
|---|---|
| RGB | rgb(47, 46, 162) |
| HSL | hsl(241, 56%, 41%) |
| HSV | hsv(241, 72%, 64%) |
| CMYK | cmyk(71%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(27.20, 38.85, -62.14) |
| CIE-LCH | lch(27.20, 73.29, 302.01°) |
| OKLab | oklab(38.88% 0.014 -0.1796) |
| OKLCH | oklch(38.88% 0.18 274.5) |
| XYZ | xyz(8.6687, 5.1661, 34.7157) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Indigo Blue
#3A18B1
ΔE00 5.11
Royal
#0C1793
ΔE00 5.97
Blueberry
#464196
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA2 #A1A22E
analogous
#2E67A2 #2F2EA2 #692EA2
triadic
#2F2EA2 #A22F2E #2EA22F
tetradic
#2F2EA2 #A22E67 #A1A22E #2EA269
square
#2F2EA2 #A22E67 #A1A22E #2EA269
split-complementary
#2F2EA2 #A2692E #67A22E
monochromatic
#131343 #212072 #2F2EA2 #4543CA #7473D7
Accessibility & contrast
On white
10.33
#2F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA2
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA2 | 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)
#0046A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ea2; /* rgb */ color: rgb(47, 46, 162); /* oklch */ color: oklch(38.9% 0.180 274.5);
Tailwind
colors: {
custom: {
50: '#7968bf',
500: '#2f2ea2',
950: '#000000',
},
}SCSS
$custom: #2f2ea2; $custom-light: #7968bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea2",
"rgb": {
"r": 47,
"g": 46,
"b": 162
},
"hsl": {
"h": 240.517,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.3888,
"c": 0.18019,
"h": 274.5
},
"luminance": 0.05167
}Semantic roles & 50–950 ramp
primary
#2F2EA2
secondary
#BEBF6D
accent
#DF49DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81