#2F2C7E#2F2C7E
#2F2C7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.134 H 278.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C7E |
|---|---|
| RGB | rgb(47, 44, 126) |
| HSL | hsl(242, 48%, 33%) |
| HSV | hsv(242, 65%, 49%) |
| CMYK | cmyk(62.7%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(23.38, 27.55, -46.14) |
| CIE-LCH | lch(23.38, 53.74, 300.84°) |
| OKLab | oklab(35.08% 0.0199 -0.1328) |
| OKLCH | oklch(35.08% 0.134 278.5) |
| XYZ | xyz(5.8377, 3.9116, 20.1820) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.79
Royal
#0C1793
ΔE00 6.81
Blueberry
#464196
ΔE00 6.87
Sapphire (survey)
#2138AB
ΔE00 7.44
Indigo (survey)
#380282
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C7E #7B7E2C
analogous
#2C527E #2F2C7E #582C7E
triadic
#2F2C7E #7E2F2C #2C7E2F
tetradic
#2F2C7E #7E2C52 #7B7E2C #2C7E58
square
#2F2C7E #7E2C52 #7B7E2C #2C7E58
split-complementary
#2F2C7E #7E582C #527E2C
monochromatic
#0D0C23 #1E1C51 #2F2C7E #403CAB #625EC7
Accessibility & contrast
On white
11.78
#2F2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C7E
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C7E | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2c7e; /* rgb */ color: rgb(47, 44, 126); /* oklch */ color: oklch(35.1% 0.134 278.5);
Tailwind
colors: {
custom: {
50: '#7165a4',
500: '#2f2c7e',
950: '#000000',
},
}SCSS
$custom: #2f2c7e; $custom-light: #7165a4; $custom-dark: #000000;
JSON
{
"hex": "#2f2c7e",
"rgb": {
"r": 47,
"g": 44,
"b": 126
},
"hsl": {
"h": 242.195,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.35082,
"c": 0.13428,
"h": 278.5
},
"luminance": 0.03912
}Semantic roles & 50–950 ramp
primary
#2F2C7E
secondary
#AAAD59
accent
#D850D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F