#2F2E7D#2F2E7D
#2F2E7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.130 H 278.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E7D |
|---|---|
| RGB | rgb(47, 46, 125) |
| HSL | hsl(241, 46%, 34%) |
| HSV | hsv(241, 63%, 49%) |
| CMYK | cmyk(62.4%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(23.80, 25.86, -44.82) |
| CIE-LCH | lch(23.80, 51.75, 299.99°) |
| OKLab | oklab(35.37% 0.0181 -0.1289) |
| OKLCH | oklch(35.37% 0.13 278) |
| XYZ | xyz(5.8498, 4.0386, 19.8693) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Midnight Blue
#191970
ΔE00 5.92
Blueberry
#464196
ΔE00 6.56
Sapphire (survey)
#2138AB
ΔE00 7.41
Royal
#0C1793
ΔE00 7.42
Marine
#042E60
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E7D #7C7D2E
analogous
#2E547D #2F2E7D #562E7D
triadic
#2F2E7D #7D2F2E #2E7D2F
tetradic
#2F2E7D #7D2E54 #7C7D2E #2E7D56
square
#2F2E7D #7D2E54 #7C7D2E #2E7D56
split-complementary
#2F2E7D #7D562E #547D2E
monochromatic
#0D0D24 #1E1E50 #2F2E7D #403EAA #6261C5
Accessibility & contrast
On white
11.62
#2F2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2F2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E7D
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E7D | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f2e7d; /* rgb */ color: rgb(47, 46, 125); /* oklch */ color: oklch(35.4% 0.130 278.0);
Tailwind
colors: {
custom: {
50: '#7167a3',
500: '#2f2e7d',
950: '#000000',
},
}SCSS
$custom: #2f2e7d; $custom-light: #7167a3; $custom-dark: #000000;
JSON
{
"hex": "#2f2e7d",
"rgb": {
"r": 47,
"g": 46,
"b": 125
},
"hsl": {
"h": 240.759,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.35365,
"c": 0.13016,
"h": 278
},
"luminance": 0.04039
}Semantic roles & 50–950 ramp
primary
#2F2E7D
secondary
#AAAB5B
accent
#D652D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F