#2F2EA6#2F2EA6
#2F2EA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.185 H 274.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EA6 |
|---|---|
| RGB | rgb(47, 46, 166) |
| HSL | hsl(241, 57%, 42%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(71.7%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(27.60, 40.21, -63.91) |
| CIE-LCH | lch(27.60, 75.50, 302.18°) |
| OKLab | oklab(39.29% 0.0134 -0.1848) |
| OKLCH | oklch(39.29% 0.185 274.1) |
| XYZ | xyz(9.0299, 5.3106, 36.6182) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Indigo Blue
#3A18B1
ΔE00 4.85
Royal
#0C1793
ΔE00 6.17
Blueberry
#464196
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 6.58
True Blue
#010FCC
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EA6 #A5A62E
analogous
#2E69A6 #2F2EA6 #6B2EA6
triadic
#2F2EA6 #A62F2E #2EA62F
tetradic
#2F2EA6 #A62E69 #A5A62E #2EA66B
square
#2F2EA6 #A62E69 #A5A62E #2EA66B
split-complementary
#2F2EA6 #A66B2E #69A62E
monochromatic
#141346 #212176 #2F2EA6 #4746CC #7676D9
Accessibility & contrast
On white
10.18
#2F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F2EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EA6
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EA6 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2ea6; /* rgb */ color: rgb(47, 46, 166); /* oklch */ color: oklch(39.3% 0.185 274.1);
Tailwind
colors: {
custom: {
50: '#7a68c2',
500: '#2f2ea6',
950: '#000000',
},
}SCSS
$custom: #2f2ea6; $custom-light: #7a68c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2ea6",
"rgb": {
"r": 47,
"g": 46,
"b": 166
},
"hsl": {
"h": 240.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.39286,
"c": 0.18527,
"h": 274.1
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#2F2EA6
secondary
#C0C16F
accent
#E048DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81