#2F2E7A#2F2E7A
#2F2E7A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.126 H 278.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E7A |
|---|---|
| RGB | rgb(47, 46, 122) |
| HSL | hsl(241, 45%, 33%) |
| HSV | hsv(241, 62%, 48%) |
| CMYK | cmyk(61.5%, 62.3%, 0%, 52.2%) |
| CIE-LAB | lab(23.55, 24.79, -43.33) |
| CIE-LCH | lch(23.55, 49.92, 299.78°) |
| OKLab | oklab(35.1% 0.0182 -0.1245) |
| OKLCH | oklch(35.1% 0.126 278.3) |
| XYZ | xyz(5.6610, 3.9631, 18.8752) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.61
Midnight Blue
#191970
ΔE00 5.93
Blueberry
#464196
ΔE00 6.80
Royal
#0C1793
ΔE00 7.80
Sapphire (survey)
#2138AB
ΔE00 7.88
Marine
#042E60
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E7A #797A2E
analogous
#2E537A #2F2E7A #552E7A
triadic
#2F2E7A #7A2F2E #2E7A2F
tetradic
#2F2E7A #7A2E53 #797A2E #2E7A55
square
#2F2E7A #7A2E53 #797A2E #2E7A55
split-complementary
#2F2E7A #7A552E #537A2E
monochromatic
#0D0C21 #1E1D4E #2F2E7A #403FA6 #6160C3
Accessibility & contrast
On white
11.71
#2F2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F2E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E7A
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E7A | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2e7a; /* rgb */ color: rgb(47, 46, 122); /* oklch */ color: oklch(35.1% 0.126 278.3);
Tailwind
colors: {
custom: {
50: '#7067a1',
500: '#2f2e7a',
950: '#000000',
},
}SCSS
$custom: #2f2e7a; $custom-light: #7067a1; $custom-dark: #000000;
JSON
{
"hex": "#2f2e7a",
"rgb": {
"r": 47,
"g": 46,
"b": 122
},
"hsl": {
"h": 240.789,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.35103,
"c": 0.12583,
"h": 278.3
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#2F2E7A
secondary
#A8AA5A
accent
#D553D3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F