#2F2F6F#2F2F6F
#2F2F6F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.108 H 279.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F6F |
|---|---|
| RGB | rgb(47, 47, 111) |
| HSL | hsl(240, 41%, 31%) |
| HSV | hsv(240, 58%, 44%) |
| CMYK | cmyk(57.7%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(22.95, 20.18, -37.28) |
| CIE-LCH | lch(22.95, 42.39, 298.43°) |
| OKLab | oklab(34.38% 0.0171 -0.1067) |
| OKLCH | oklch(34.38% 0.108 279.1) |
| XYZ | xyz(5.0571, 3.7847, 15.4999) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.82
Marine
#042E60
ΔE00 7.25
Blueberry
#464196
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 8.07
Marine Blue
#01386A
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F6F #6F6F2F
analogous
#2F4F6F #2F2F6F #4F2F6F
triadic
#2F2F6F #6F2F2F #2F6F2F
tetradic
#2F2F6F #6F2F4F #6F6F2F #2F6F4F
square
#2F2F6F #6F2F4F #6F6F2F #2F6F4F
split-complementary
#2F2F6F #6F4F2F #4F6F2F
monochromatic
#0B0B19 #1D1D44 #2F2F6F #41419A #5E5EBB
Accessibility & contrast
On white
11.95
#2F2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F2F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F6F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F6F | 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)
#063971
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#103E4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2f6f; /* rgb */ color: rgb(47, 47, 111); /* oklch */ color: oklch(34.4% 0.108 279.1);
Tailwind
colors: {
custom: {
50: '#6e6799',
500: '#2f2f6f',
950: '#000000',
},
}SCSS
$custom: #2f2f6f; $custom-light: #6e6799; $custom-dark: #000000;
JSON
{
"hex": "#2f2f6f",
"rgb": {
"r": 47,
"g": 47,
"b": 111
},
"hsl": {
"h": 240,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.34381,
"c": 0.10807,
"h": 279.1
},
"luminance": 0.03785
}Semantic roles & 50–950 ramp
primary
#2F2F6F
secondary
#A0A059
accent
#D057D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E