#2F2B7F#2F2B7F
#2F2B7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.137 H 278.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B7F |
|---|---|
| RGB | rgb(47, 43, 127) |
| HSL | hsl(243, 49%, 33%) |
| HSV | hsv(243, 66%, 50%) |
| CMYK | cmyk(63%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(23.22, 28.55, -47.04) |
| CIE-LCH | lch(23.22, 55.02, 301.26°) |
| OKLab | oklab(34.99% 0.0208 -0.1354) |
| OKLCH | oklch(34.99% 0.137 278.7) |
| XYZ | xyz(5.8657, 3.8640, 20.5113) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 6.45
Blueberry
#464196
ΔE00 7.02
Sapphire (survey)
#2138AB
ΔE00 7.41
Indigo (survey)
#380282
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B7F #7B7F2B
analogous
#2B517F #2F2B7F #592B7F
triadic
#2F2B7F #7F2F2B #2B7F2F
tetradic
#2F2B7F #7F2B51 #7B7F2B #2B7F59
square
#2F2B7F #7F2B51 #7B7F2B #2B7F59
split-complementary
#2F2B7F #7F592B #517F2B
monochromatic
#0D0C24 #1E1C51 #2F2B7F #403AAD #625CC8
Accessibility & contrast
On white
11.85
#2F2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B7F
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B7F | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2b7f; /* rgb */ color: rgb(47, 43, 127); /* oklch */ color: oklch(35.0% 0.137 278.7);
Tailwind
colors: {
custom: {
50: '#7165a5',
500: '#2f2b7f',
950: '#000000',
},
}SCSS
$custom: #2f2b7f; $custom-light: #7165a5; $custom-dark: #000000;
JSON
{
"hex": "#2f2b7f",
"rgb": {
"r": 47,
"g": 43,
"b": 127
},
"hsl": {
"h": 242.857,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.34992,
"c": 0.13701,
"h": 278.7
},
"luminance": 0.03864
}Semantic roles & 50–950 ramp
primary
#2F2B7F
secondary
#AAAE58
accent
#D94FD2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F