#2F2F79#2F2F79
#2F2F79 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.123 H 278.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F79 |
|---|---|
| RGB | rgb(47, 47, 121) |
| HSL | hsl(240, 44%, 33%) |
| HSV | hsv(240, 61%, 47%) |
| CMYK | cmyk(61.2%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(23.73, 23.76, -42.40) |
| CIE-LCH | lch(23.73, 48.61, 299.27°) |
| OKLab | oklab(35.21% 0.0172 -0.1218) |
| OKLCH | oklch(35.21% 0.123 278) |
| XYZ | xyz(5.6389, 4.0174, 18.5637) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.24
Blueberry
#464196
ΔE00 6.73
Marine
#042E60
ΔE00 7.85
Sapphire (survey)
#2138AB
ΔE00 7.98
Royal
#0C1793
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F79 #79792F
analogous
#2F5479 #2F2F79 #542F79
triadic
#2F2F79 #792F2F #2F792F
tetradic
#2F2F79 #792F54 #79792F #2F7954
square
#2F2F79 #792F54 #79792F #2F7954
split-complementary
#2F2F79 #79542F #54792F
monochromatic
#0D0D21 #1E1E4D #2F2F79 #4040A5 #6161C2
Accessibility & contrast
On white
11.64
#2F2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F79
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F79 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2f79; /* rgb */ color: rgb(47, 47, 121); /* oklch */ color: oklch(35.2% 0.123 278.0);
Tailwind
colors: {
custom: {
50: '#7067a0',
500: '#2f2f79',
950: '#000000',
},
}SCSS
$custom: #2f2f79; $custom-light: #7067a0; $custom-dark: #000000;
JSON
{
"hex": "#2f2f79",
"rgb": {
"r": 47,
"g": 47,
"b": 121
},
"hsl": {
"h": 240,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.3521,
"c": 0.12298,
"h": 278
},
"luminance": 0.04018
}Semantic roles & 50–950 ramp
primary
#2F2F79
secondary
#A8A85B
accent
#D454D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E