#2F2D7F#2F2D7F
#2F2D7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.134 H 278.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D7F |
|---|---|
| RGB | rgb(47, 45, 127) |
| HSL | hsl(241, 48%, 34%) |
| HSV | hsv(241, 65%, 50%) |
| CMYK | cmyk(63%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.71, 27.24, -46.22) |
| CIE-LCH | lch(23.71, 53.65, 300.51°) |
| OKLab | oklab(35.36% 0.0189 -0.133) |
| OKLCH | oklch(35.36% 0.134 278.1) |
| XYZ | xyz(5.9402, 4.0130, 20.5361) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Midnight Blue
#191970
ΔE00 5.68
Blueberry
#464196
ΔE00 6.61
Royal
#0C1793
ΔE00 6.94
Sapphire (survey)
#2138AB
ΔE00 7.20
Marine
#042E60
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D7F #7D7F2D
analogous
#2D547F #2F2D7F #582D7F
triadic
#2F2D7F #7F2F2D #2D7F2F
tetradic
#2F2D7F #7F2D54 #7D7F2D #2D7F58
square
#2F2D7F #7F2D54 #7D7F2D #2D7F58
split-complementary
#2F2D7F #7F582D #547F2D
monochromatic
#0E0D25 #1E1D52 #2F2D7F #403DAC #6260C7
Accessibility & contrast
On white
11.65
#2F2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D7F
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D7F | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2d7f; /* rgb */ color: rgb(47, 45, 127); /* oklch */ color: oklch(35.4% 0.134 278.1);
Tailwind
colors: {
custom: {
50: '#7166a5',
500: '#2f2d7f',
950: '#000000',
},
}SCSS
$custom: #2f2d7f; $custom-light: #7166a5; $custom-dark: #000000;
JSON
{
"hex": "#2f2d7f",
"rgb": {
"r": 47,
"g": 45,
"b": 127
},
"hsl": {
"h": 241.463,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.35356,
"c": 0.13436,
"h": 278.1
},
"luminance": 0.04013
}Semantic roles & 50–950 ramp
primary
#2F2D7F
secondary
#ABAD5B
accent
#D751D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F