#2F295F#2F295F
#2F295F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.093 H 284.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F295F |
|---|---|
| RGB | rgb(47, 41, 95) |
| HSL | hsl(247, 40%, 27%) |
| HSV | hsv(247, 57%, 37%) |
| CMYK | cmyk(50.5%, 56.8%, 0%, 62.7%) |
| CIE-LAB | lab(20.11, 18.71, -31.44) |
| CIE-LCH | lch(20.11, 36.58, 300.76°) |
| OKLab | oklab(31.89% 0.0238 -0.0896) |
| OKLCH | oklch(31.89% 0.093 284.9) |
| XYZ | xyz(4.0302, 3.0163, 11.1941) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 7.38
Navy Blue
#1B2A4A
ΔE00 7.40
Navy Blue (survey)
#001146
ΔE00 8.48
Marine
#042E60
ΔE00 8.52
Dark Indigo
#1F0954
ΔE00 8.69
Navy (survey)
#01153E
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F295F #595F29
analogous
#293E5F #2F295F #4A295F
triadic
#2F295F #5F2F29 #295F2F
tetradic
#2F295F #5F293E #595F29 #295F4A
square
#2F295F #5F293E #595F29 #295F4A
split-complementary
#2F295F #5F4A29 #3E5F29
monochromatic
#0B0915 #1A1734 #2F295F #443B8A #5A4FB3
Accessibility & contrast
On white
13.10
#2F295F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2F295F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F295F
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F295F | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3261
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#1F353F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f295f; /* rgb */ color: rgb(47, 41, 95); /* oklch */ color: oklch(31.9% 0.093 284.9);
Tailwind
colors: {
custom: {
50: '#6b628d',
500: '#2f295f',
950: '#000000',
},
}SCSS
$custom: #2f295f; $custom-light: #6b628d; $custom-dark: #000000;
JSON
{
"hex": "#2f295f",
"rgb": {
"r": 47,
"g": 41,
"b": 95
},
"hsl": {
"h": 246.667,
"s": 39.706,
"l": 26.667
},
"oklch": {
"l": 0.31886,
"c": 0.09269,
"h": 284.9
},
"luminance": 0.03016
}Semantic roles & 50–950 ramp
primary
#2F295F
secondary
#8B9252
accent
#D058C2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D