#2F2C79#2F2C79
#2F2C79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.127 H 279.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C79 |
|---|---|
| RGB | rgb(47, 44, 121) |
| HSL | hsl(242, 47%, 32%) |
| HSV | hsv(242, 64%, 47%) |
| CMYK | cmyk(61.2%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.95, 25.78, -43.67) |
| CIE-LCH | lch(22.95, 50.71, 300.55°) |
| OKLab | oklab(34.64% 0.0203 -0.1255) |
| OKLCH | oklch(34.64% 0.127 279.2) |
| XYZ | xyz(5.5231, 3.7858, 18.5251) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 5.96
Blueberry
#464196
ΔE00 7.22
Royal
#0C1793
ΔE00 7.45
Sapphire (survey)
#2138AB
ΔE00 8.19
Marine
#042E60
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C79 #76792C
analogous
#2C4F79 #2F2C79 #562C79
triadic
#2F2C79 #792F2C #2C792F
tetradic
#2F2C79 #792C4F #76792C #2C7956
square
#2F2C79 #792C4F #76792C #2C7956
split-complementary
#2F2C79 #79562C #4F792C
monochromatic
#0C0B1F #1E1C4C #2F2C79 #403CA6 #605CC4
Accessibility & contrast
On white
11.95
#2F2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F2C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C79
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C79 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2c79; /* rgb */ color: rgb(47, 44, 121); /* oklch */ color: oklch(34.6% 0.127 279.2);
Tailwind
colors: {
custom: {
50: '#7065a0',
500: '#2f2c79',
950: '#000000',
},
}SCSS
$custom: #2f2c79; $custom-light: #7065a0; $custom-dark: #000000;
JSON
{
"hex": "#2f2c79",
"rgb": {
"r": 47,
"g": 44,
"b": 121
},
"hsl": {
"h": 242.338,
"s": 46.667,
"l": 32.353
},
"oklch": {
"l": 0.34636,
"c": 0.12714,
"h": 279.2
},
"luminance": 0.03786
}Semantic roles & 50–950 ramp
primary
#2F2C79
secondary
#A7AA57
accent
#D651D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E