#2F314E#2F314E
#2F314E is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.051 H 280.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F314E |
|---|---|
| RGB | rgb(47, 49, 78) |
| HSL | hsl(236, 25%, 25%) |
| HSV | hsv(236, 40%, 31%) |
| CMYK | cmyk(39.7%, 37.2%, 0%, 69.4%) |
| CIE-LAB | lab(21.40, 7.42, -18.09) |
| CIE-LCH | lch(21.40, 19.55, 292.31°) |
| OKLab | oklab(32.52% 0.009 -0.0505) |
| OKLCH | oklch(32.52% 0.051 280.1) |
| XYZ | xyz(3.6454, 3.3509, 7.6610) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.02
Marine
#042E60
ΔE00 9.33
Dark
#1B2431
ΔE00 10.03
Navy (survey)
#01153E
ΔE00 10.30
Marine Blue
#01386A
ΔE00 11.05
Navy Blue (survey)
#001146
ΔE00 11.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F314E #4E4C2F
analogous
#2F414E #2F314E #3D2F4E
triadic
#2F314E #4E2F31 #314E2F
tetradic
#2F314E #4E2F41 #4E4C2F #2F4E3D
square
#2F314E #4E2F41 #4E4C2F #2F4E3D
split-complementary
#2F314E #4E3D2F #414E2F
monochromatic
#0C0C13 #181928 #2F314E #464974 #5D619A
Accessibility & contrast
On white
12.57
#2F314E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2F314E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F314E
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F314E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F314E | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28344F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#26373C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f314e; /* rgb */ color: rgb(47, 49, 78); /* oklch */ color: oklch(32.5% 0.051 280.1);
Tailwind
colors: {
custom: {
50: '#69687f',
500: '#2f314e',
950: '#000000',
},
}SCSS
$custom: #2f314e; $custom-light: #69687f; $custom-dark: #000000;
JSON
{
"hex": "#2f314e",
"rgb": {
"r": 47,
"g": 49,
"b": 78
},
"hsl": {
"h": 236.129,
"s": 24.8,
"l": 24.51
},
"oklch": {
"l": 0.32518,
"c": 0.05134,
"h": 280.1
},
"luminance": 0.03351
}Semantic roles & 50–950 ramp
primary
#2F314E
secondary
#7F7D5A
accent
#BB67C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C