#2F2F67#2F2F67
#2F2F67 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.096 H 280.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F67 |
|---|---|
| RGB | rgb(47, 47, 103) |
| HSL | hsl(240, 37%, 29%) |
| HSV | hsv(240, 54%, 40%) |
| CMYK | cmyk(54.4%, 54.4%, 0%, 59.6%) |
| CIE-LAB | lab(22.36, 17.34, -33.05) |
| CIE-LCH | lch(22.36, 37.33, 297.68°) |
| OKLab | oklab(33.76% 0.0166 -0.0943) |
| OKLCH | oklch(33.76% 0.096 280) |
| XYZ | xyz(4.6362, 3.6164, 13.2831) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 7.06
Marine
#042E60
ΔE00 7.12
Darkslateblue
#483D8B
ΔE00 7.41
Midnight Blue
#191970
ΔE00 7.76
Blueberry
#464196
ΔE00 9.01
Marine Blue
#01386A
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F67 #67672F
analogous
#2F4B67 #2F2F67 #4B2F67
triadic
#2F2F67 #672F2F #2F672F
tetradic
#2F2F67 #672F4B #67672F #2F674B
square
#2F2F67 #672F4B #67672F #2F674B
split-complementary
#2F2F67 #674B2F #4B672F
monochromatic
#0A0A15 #1C1C3D #2F2F67 #424291 #5C5CB5
Accessibility & contrast
On white
12.19
#2F2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F2F67 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F67
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F67 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F67 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#0D3366
Tritanopia (blue-blind)
#183B46
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2f67; /* rgb */ color: rgb(47, 47, 103); /* oklch */ color: oklch(33.8% 0.096 280.0);
Tailwind
colors: {
custom: {
50: '#6c6793',
500: '#2f2f67',
950: '#000000',
},
}SCSS
$custom: #2f2f67; $custom-light: #6c6793; $custom-dark: #000000;
JSON
{
"hex": "#2f2f67",
"rgb": {
"r": 47,
"g": 47,
"b": 103
},
"hsl": {
"h": 240,
"s": 37.333,
"l": 29.412
},
"oklch": {
"l": 0.33755,
"c": 0.09573,
"h": 280
},
"luminance": 0.03617
}Semantic roles & 50–950 ramp
primary
#2F2F67
secondary
#989859
accent
#CD5ACD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E