#2F2EA3#2F2EA3
#2F2EA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.181 H 274.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA3 |
|---|---|
| RGB | rgb(47, 46, 163) |
| HSL | hsl(241, 56%, 41%) |
| HSV | hsv(241, 72%, 64%) |
| CMYK | cmyk(71.2%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(27.30, 39.19, -62.59) |
| CIE-LCH | lch(27.30, 73.84, 302.05°) |
| OKLab | oklab(38.98% 0.0138 -0.1809) |
| OKLCH | oklch(38.98% 0.181 274.4) |
| XYZ | xyz(8.7580, 5.2018, 35.1857) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 5.04
Royal
#0C1793
ΔE00 6.02
Blueberry
#464196
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA3 #A2A32E
analogous
#2E67A3 #2F2EA3 #692EA3
triadic
#2F2EA3 #A32F2E #2EA32F
tetradic
#2F2EA3 #A32E67 #A2A32E #2EA369
square
#2F2EA3 #A32E67 #A2A32E #2EA369
split-complementary
#2F2EA3 #A3692E #67A32E
monochromatic
#131344 #212173 #2F2EA3 #4544CA #7574D8
Accessibility & contrast
On white
10.29
#2F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F2EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA3
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA3 | 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)
#0046A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ea3; /* rgb */ color: rgb(47, 46, 163); /* oklch */ color: oklch(39.0% 0.181 274.4);
Tailwind
colors: {
custom: {
50: '#7968bf',
500: '#2f2ea3',
950: '#000000',
},
}SCSS
$custom: #2f2ea3; $custom-light: #7968bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea3",
"rgb": {
"r": 47,
"g": 46,
"b": 163
},
"hsl": {
"h": 240.513,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.38981,
"c": 0.18147,
"h": 274.4
},
"luminance": 0.05203
}Semantic roles & 50–950 ramp
primary
#2F2EA3
secondary
#BFBF6D
accent
#DF49DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81