#2F2E82#2F2E82
#2F2E82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.137 H 277.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E82 |
|---|---|
| RGB | rgb(47, 46, 130) |
| HSL | hsl(241, 48%, 35%) |
| HSV | hsv(241, 65%, 51%) |
| CMYK | cmyk(63.8%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(24.22, 27.65, -47.28) |
| CIE-LCH | lch(24.22, 54.77, 300.32°) |
| OKLab | oklab(35.81% 0.0178 -0.1361) |
| OKLCH | oklch(35.81% 0.137 277.4) |
| XYZ | xyz(6.1772, 4.1696, 21.5940) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.39
Midnight Blue
#191970
ΔE00 6.02
Blueberry
#464196
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.66
Royal
#0C1793
ΔE00 6.87
Marine
#042E60
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E82 #81822E
analogous
#2E5782 #2F2E82 #592E82
triadic
#2F2E82 #822F2E #2E822F
tetradic
#2F2E82 #822E57 #81822E #2E8259
square
#2F2E82 #822E57 #81822E #2E8259
split-complementary
#2F2E82 #82592E #57822E
monochromatic
#0E0E28 #1F1E55 #2F2E82 #3F3EAF #6463C8
Accessibility & contrast
On white
11.45
#2F2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E82
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E82 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2e82; /* rgb */ color: rgb(47, 46, 130); /* oklch */ color: oklch(35.8% 0.137 277.4);
Tailwind
colors: {
custom: {
50: '#7267a7',
500: '#2f2e82',
950: '#000000',
},
}SCSS
$custom: #2f2e82; $custom-light: #7267a7; $custom-dark: #000000;
JSON
{
"hex": "#2f2e82",
"rgb": {
"r": 47,
"g": 46,
"b": 130
},
"hsl": {
"h": 240.714,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.3581,
"c": 0.13728,
"h": 277.4
},
"luminance": 0.0417
}Semantic roles & 50–950 ramp
primary
#2F2E82
secondary
#ADAE5D
accent
#D750D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F