#2F2F70#2F2F70
#2F2F70 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.110 H 279.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F70 |
|---|---|
| RGB | rgb(47, 47, 112) |
| HSL | hsl(240, 41%, 31%) |
| HSV | hsv(240, 58%, 44%) |
| CMYK | cmyk(58%, 58%, 0%, 56.1%) |
| CIE-LAB | lab(23.02, 20.54, -37.80) |
| CIE-LCH | lch(23.02, 43.02, 298.52°) |
| OKLab | oklab(34.46% 0.0171 -0.1082) |
| OKLCH | oklch(34.46% 0.11 279) |
| XYZ | xyz(5.1125, 3.8069, 15.7915) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.26
Midnight Blue
#191970
ΔE00 6.73
Marine
#042E60
ΔE00 7.29
Blueberry
#464196
ΔE00 7.71
Navy Blue
#1B2A4A
ΔE00 8.20
Marine Blue
#01386A
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F70 #70702F
analogous
#2F4F70 #2F2F70 #4F2F70
triadic
#2F2F70 #702F2F #2F702F
tetradic
#2F2F70 #702F4F #70702F #2F704F
square
#2F2F70 #702F4F #70702F #2F704F
split-complementary
#2F2F70 #704F2F #4F702F
monochromatic
#0B0B1A #1D1D45 #2F2F70 #41419B #5E5EBB
Accessibility & contrast
On white
11.92
#2F2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F2F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F70
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F70 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033A72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#0E3E4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2f70; /* rgb */ color: rgb(47, 47, 112); /* oklch */ color: oklch(34.5% 0.110 279.0);
Tailwind
colors: {
custom: {
50: '#6e679a',
500: '#2f2f70',
950: '#000000',
},
}SCSS
$custom: #2f2f70; $custom-light: #6e679a; $custom-dark: #000000;
JSON
{
"hex": "#2f2f70",
"rgb": {
"r": 47,
"g": 47,
"b": 112
},
"hsl": {
"h": 240,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.34462,
"c": 0.10958,
"h": 279
},
"luminance": 0.03807
}Semantic roles & 50–950 ramp
primary
#2F2F70
secondary
#A1A15A
accent
#D157D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E