#2F346F#2F346F
#2F346F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.101 H 276.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F346F |
|---|---|
| RGB | rgb(47, 52, 111) |
| HSL | hsl(235, 41%, 31%) |
| HSV | hsv(235, 58%, 44%) |
| CMYK | cmyk(57.7%, 53.2%, 0%, 56.5%) |
| CIE-LAB | lab(24.35, 16.74, -35.02) |
| CIE-LCH | lch(24.35, 38.82, 295.54°) |
| OKLab | oklab(35.43% 0.0111 -0.1) |
| OKLCH | oklch(35.43% 0.101 276.3) |
| XYZ | xyz(5.2686, 4.2077, 15.5704) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.29
Marine
#042E60
ΔE00 6.52
Blueberry
#464196
ΔE00 7.50
Navy Blue
#1B2A4A
ΔE00 7.59
Marine Blue
#01386A
ΔE00 7.87
Midnight Blue
#191970
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F346F #6F6A2F
analogous
#2F546F #2F346F #4A2F6F
triadic
#2F346F #6F2F34 #346F2F
tetradic
#2F346F #6F2F54 #6F6A2F #2F6F4A
square
#2F346F #6F2F54 #6F6A2F #2F6F4A
split-complementary
#2F346F #6F4A2F #546F2F
monochromatic
#0B0C19 #1D2044 #2F346F #41489A #5E65BB
Accessibility & contrast
On white
11.40
#2F346F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F346F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F346F
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F346F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F346F | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#0C376E
Tritanopia (blue-blind)
#0F414C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f346f; /* rgb */ color: rgb(47, 52, 111); /* oklch */ color: oklch(35.4% 0.101 276.3);
Tailwind
colors: {
custom: {
50: '#6d6b99',
500: '#2f346f',
950: '#000000',
},
}SCSS
$custom: #2f346f; $custom-light: #6d6b99; $custom-dark: #000000;
JSON
{
"hex": "#2f346f",
"rgb": {
"r": 47,
"g": 52,
"b": 111
},
"hsl": {
"h": 235.313,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.35431,
"c": 0.10064,
"h": 276.3
},
"luminance": 0.04208
}Semantic roles & 50–950 ramp
primary
#2F346F
secondary
#A09B59
accent
#C757D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E