#2F2B7E#2F2B7E
#2F2B7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.136 H 278.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B7E |
|---|---|
| RGB | rgb(47, 43, 126) |
| HSL | hsl(243, 49%, 33%) |
| HSV | hsv(243, 66%, 49%) |
| CMYK | cmyk(62.7%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(23.13, 28.20, -46.55) |
| CIE-LCH | lch(23.13, 54.42, 301.21°) |
| OKLab | oklab(34.9% 0.0209 -0.134) |
| OKLCH | oklch(34.9% 0.136 278.9) |
| XYZ | xyz(5.8009, 3.8380, 20.1697) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.98
Royal
#0C1793
ΔE00 6.57
Blueberry
#464196
ΔE00 7.07
Sapphire (survey)
#2138AB
ΔE00 7.55
Indigo (survey)
#380282
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B7E #7A7E2B
analogous
#2B507E #2F2B7E #582B7E
triadic
#2F2B7E #7E2F2B #2B7E2F
tetradic
#2F2B7E #7E2B50 #7A7E2B #2B7E58
square
#2F2B7E #7E2B50 #7A7E2B #2B7E58
split-complementary
#2F2B7E #7E582B #507E2B
monochromatic
#0D0C23 #1E1B50 #2F2B7E #403BAC #615CC7
Accessibility & contrast
On white
11.88
#2F2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F2B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B7E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B7E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2b7e; /* rgb */ color: rgb(47, 43, 126); /* oklch */ color: oklch(34.9% 0.136 278.9);
Tailwind
colors: {
custom: {
50: '#7165a4',
500: '#2f2b7e',
950: '#000000',
},
}SCSS
$custom: #2f2b7e; $custom-light: #7165a4; $custom-dark: #000000;
JSON
{
"hex": "#2f2b7e",
"rgb": {
"r": 47,
"g": 43,
"b": 126
},
"hsl": {
"h": 242.892,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.34901,
"c": 0.1356,
"h": 278.9
},
"luminance": 0.03838
}Semantic roles & 50–950 ramp
primary
#2F2B7E
secondary
#A9AD58
accent
#D94FD2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F