#2F2D7E#2F2D7E
#2F2D7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.133 H 278.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D7E |
|---|---|
| RGB | rgb(47, 45, 126) |
| HSL | hsl(241, 47%, 34%) |
| HSV | hsv(241, 64%, 49%) |
| CMYK | cmyk(62.7%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(23.63, 26.89, -45.73) |
| CIE-LCH | lch(23.63, 53.05, 300.45°) |
| OKLab | oklab(35.27% 0.019 -0.1316) |
| OKLCH | oklch(35.27% 0.133 278.2) |
| XYZ | xyz(5.8754, 3.9870, 20.1946) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.62
Midnight Blue
#191970
ΔE00 5.66
Blueberry
#464196
ΔE00 6.68
Royal
#0C1793
ΔE00 7.05
Sapphire (survey)
#2138AB
ΔE00 7.34
Marine
#042E60
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D7E #7C7E2D
analogous
#2D537E #2F2D7E #572D7E
triadic
#2F2D7E #7E2F2D #2D7E2F
tetradic
#2F2D7E #7E2D53 #7C7E2D #2D7E57
square
#2F2D7E #7E2D53 #7C7E2D #2D7E57
split-complementary
#2F2D7E #7E572D #537E2D
monochromatic
#0D0D24 #1E1D51 #2F2D7E #403DAB #625FC6
Accessibility & contrast
On white
11.68
#2F2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D7E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D7E | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2d7e; /* rgb */ color: rgb(47, 45, 126); /* oklch */ color: oklch(35.3% 0.133 278.2);
Tailwind
colors: {
custom: {
50: '#7166a4',
500: '#2f2d7e',
950: '#000000',
},
}SCSS
$custom: #2f2d7e; $custom-light: #7166a4; $custom-dark: #000000;
JSON
{
"hex": "#2f2d7e",
"rgb": {
"r": 47,
"g": 45,
"b": 126
},
"hsl": {
"h": 241.481,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.35267,
"c": 0.13294,
"h": 278.2
},
"luminance": 0.03987
}Semantic roles & 50–950 ramp
primary
#2F2D7E
secondary
#AAAC5A
accent
#D751D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F